Stacks & Queues
LIFO/FIFO structures and monotonic patterns.
Foundation
Learn the invariant, apply it independently, then pass the Stacks & queues checkpoint.
- Valid Parentheses (Easy)
Checkpoint
A graded check of the core Stacks & queues reasoning skills.
Pattern Quest
Practice recognizing stacks & queues problem shapes.
Stacks & queues
Practice LIFO and FIFO invariants for nested syntax, monotonic candidates, breadth-first work, and deferred operations that must be resolved in order.
- Basic Calculator (Hard)
- Buildings With an Ocean View (Medium)
- Calculate Infix (Medium)
- Calculate Postfix (Medium)
- Decode String (Medium)
- Find Moving Average in Sliding Window (Easy)
- Implement Queue With Max (Medium)
- Implement Stack With Min (Medium)
- Infix to Postfix (Medium)
- Prefix to Postfix (Medium)
- Simplify Path (Medium)
- Trapping Rain Water (Hard)