Answers

Question and Answer:

  Home  Stack And Queue

⟩ Can you explain queue operation?

Queue is a data structure that follows First in First out strategy.

Queue Operations:

Push – Inserts the element in the queue at the end.

Pop – removes the element out of the queue from the front

Size – Returns the size of the queue

Front – Returns the first element of the queue.

Empty – to find if the queue is empty.

 173 views

More Questions for you: