Queue Visualizer
Play with Enqueue, Dequeue, and Peek Front to see a queue in action!
Queue is empty
FrontRear
Queue is empty!
What's Happening in the Queue?
Enqueue
Adds a new item to the rear (right). Like joining the end of a line!
Dequeue
Removes the item from the front (left). The first in line leaves!
Peek Front
Checks who's at the front without removing them. Just a quick look!
FIFO
Stands for First In, First Out. The queue works like a fair line—first come, first served!