20. Valid Parentheses
Q:Given a string 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 b...
原创
2019-01-30 13:50:13 ·
64 阅读 ·
0 评论