B4Coder

🎧 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

  1. Make line = [ ].
  2. Go through tickets, and Enqueue each t.name into line.
  3. Tell length(line) + " waiting".

Getting the mission ready…