Grind75 - 20. Valid Parentheses 파이썬
·
알고리즘/LeetCode_Grind75
20. Valid ParenthesesEasyGiven 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 in the correct order.Every close bracket has a corresponding open bracket of the same type. Example 1:Input: s = "()"Output: trueExample 2..
컴공편입생 공부일기
'컴공' 태그의 글 목록