Queue: Enqueue
Task: Add three values to the queue
What you are watching
Enqueueing adds a value at the rear, and the rear is the only place anything can join. 12, then 27, then 5: each one lines up behind the one before it and none of them can overtake. 12 arrived first, so 12 is at the front and will be the first to leave - the order values arrive in is the order they will go out in.