#5EasyStack
Valid Parentheses
▧Problem
Given a string containing only the characters (), {}, and [], determine whether the input string is valid.
Examples
INPUT
s = "([)]"
OUTPUT
false
Constraints
- 1 <= s.length <= 10⁴
- s contains only parentheses characters.