Tag: stack
Interview Questions
- Maximum-frequency stack
- Deepest nesting level of parentheses
- Fewest edits to balance parentheses
- Validate nested HTML-style tags
- Fewest swaps to balance brackets
- Validate matching brackets
- Design a max-stack
- Design a stack that reports its range
- Design a stack that reports the GCD of its elements
- Design a min-stack