Stacks practice problems
Last in, first out — matching, undoing, and remembering what is still open. A concept: the material itself — what it is, and what it costs you to use. 9 problems in the bank train it, each with a worked example, a hint and a reference solution.
- Math
- Strings
- Arrays
- Hash maps
- Sorting
- Parsing
- Two pointers
- Sliding window
- Prefix sums
- Stacks
- Binary search
- Intervals
- Grids
- Greedy
- Recursion
- Simulation
- Bit manipulation