Where the data lives: arrays, lists, stacks and queuesLesson 2 of 10Free preview

Inserting at the front

A pickup in Kakoli jumps the queue. The array shifts all 6 stops; the list changes one pointer.