Stacks & Queues

Like recursion, good applications motivating stacks, queues, and priority queues appropriate for CS 2 are hard to come by.

Stacks
Queues
Priority queues

Though most books use stacks and queues as their first data structures, I find it useful to do them later. Two reasons:

(next) (schedule)