Leetcode 0020. Valid Parentheses
Posted on Mon 02 December 2024 in Leetcode • Tagged with stack, parentheses
Question Link : https://leetcode.com/problems/valid-parentheses/
Difficulty: Easy
Premium: False
Question
Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if:
Open brackets must be closed by the same type of brackets. Open brackets must be closed …
Continue reading