See all coding puzzles and patterns here.
Data Structure Description
A stack is a last-in first-out (LIFO) data structure that is used for various DSA (data structures & algorithms) problems.
For example, a stack is typically used to implement a depth-first search.
Puzzles
Puzzle | Difficulty | External Link |
Basic Calculator I | Hard | Leetcode 224 |
Basic Calculator II | Medium | Leetcode 227 |
Bracket Balance | Medium | |
Daily Temperatures | Medium | Leetcode 739 |
Decode a String | Medium | |
Decrypt a String | Easy |
Problems in DFS are also generally solved using stacks.