Problems / Stack / Valid Parentheses
#21 Easy Time O(n) Space O(n) Animated

Valid Parentheses

Determine if an input string of parentheses is valid.

LeetCode ↗
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps