Zipline interview question

Data Structure questions: queue was the answer