Queue
easy 15 minA queue is a linear data structure where items join at the rear and leave from the front.
Chapter mnemonic
Which item leaves next?
Lift the top plate. Serve the first guest. Call the urgent case.
The newest arrival has the most urgent case. Which structure serves them first because of urgency?
A priority queue orders removal by priority.