🎧 Help Desk · Mission 1 of 6
🧍 Line Up
Eight tickets came in this morning. The help desk serves people in the order they came, so they wait in a queue.
Your mission
- Make line = [ ].
- Go through tickets, and Enqueue each t.name into line.
- Tell length(line) + " waiting".
Getting the mission ready…