LECTURE 9 OF 25
Stacks and Queues
A stack remembers what to undo; a queue remembers what to do next, in the order it arrived.
Builds on
Best read after 2. Arrays, 8. Linked Lists — you can still read ahead, but some of this may lean on ideas covered there.