Queue
Join at the rear, leave from the front: the first value in is the first value out.
Operations4, 9, 2, dequeue, 6, peek, dequeue
Start with an empty queue.
- compare
- swap or write
- settled
Space play · ← → step · Home End jump · drag the strip to scrub