Valid Parentheses
An Easy coding interview problem in the Stack pattern.
Pattern
Defer work until a matching or smaller element appears.
Recognition cue: Matching brackets, nested structure, or the next greater / smaller element.
- Learn first
- Do not confuse it with
Topics
- String
- Stack
Practise Stack next
- 1Easy
- 2Easy
- 3Easy
- 4Easy
- 5Easy
- 6Easy
- 7Easy
- 8Easy