Write some of the queue operation

Write down some of the queue operation.

E

Expert

Verified

The Queue is a data structure which follows First in First out strategy.

Some of the Queue Operations are as follows:

Push: It inserts the element in queue at the end.

Pop:  It eliminates the element out of the queue from the front.

Size: It returns the size of the queue.

Front: It returns the first element of the queue.

Empty: To find out if the queue is empty.   

   Related Questions in Data Structure & Algorithms

©TutorsGlobe All rights reserved 2022-2023.