【LeetCode】20. Valid Parentheses
Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.
The brackets must close in the correct order, “()” and “()[]{}” are all valid b
原创
2017-02-04 09:47:37 ·
209 阅读 ·
0 评论