Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 506 Bytes

File metadata and controls

9 lines (5 loc) · 506 Bytes

Queue

Queue is another Abstract Data Type in which the items in the collection are kept in order and the main operations on the collection are the addition of items to the back position (enqueue) and removal of items from the front position (dequeue).

It is known as First-In-First-Out (FIFO) data structure as the first item to be enqueued will eventually be the first item to be dequeued, as in real life queues.

Visualizations of Queue

visual-algo-queue