1
I am trying to introduce the idea of stacks and queues in a course on data structures.
For stacks, my idea was to show some interesting examples of problems, like evaluating an expression in RPN, or checking whether a bracket sequence is well bracketed.
What would be a good example of a few pro...