Describe queue operation

Briefly describe the term queue operation?

E

Expert

Verified

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

Queue Operations:

• Push – Inserts element in queue at end.
• Pop – removes element out of queue from front
• Size – Returns size of queue
• Front – Returns first element of queue. 
• Empty – to find if queue is empty.

   Related Questions in Data Structure & Algorithms

©TutorsGlobe All rights reserved 2022-2023.