Valid Parentheses
Easy📝 Description
Check if parentheses in string are valid
Input Format
String containing only (), {}, []
Output Format
true/false
Constraints
1 ≤ s.length ≤ 10^4
🔍 Sample Input
()[]{}
✅ Sample Output
true
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run