Skip to content
Skip to page content
soylai.com

Data Structure: Stack — Part 2: Applications and Board-Style Programs

Beta
Lesson

Stacks at work

Part 2 — applications of stacks and the push/pop programs asked in board papers.

In this lesson you will

  • Use a stack to reverse data, check brackets and evaluate postfix expressions
  • Explain how the call stack, undo and back buttons follow LIFO
  • Write push and pop functions that move items meeting a condition into a stack and display them
Part 2 at a glance