Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

4. Stacks

The stack ADT, array and linked implementations, balanced symbols, postfix evaluation, infix-to-postfix conversion and the call stack. Problem solving: reversing, undo/redo, the next greater element (monotonic stack), a min-stack, sorting a stack.

Slides

Present full screen Download the PDF

Click or tap the slide to move forward, its left edge to go back; the arrow keys work too.