leetcode讲解--921. Minimum Add to Make Parentheses Valid
2018-12-18
阅读 2 分钟
1.9kGiven a string S of '(' and ')' parentheses, we add the minimum number of parentheses ( '(' or ')', and in any positions ) so that the resulting parentheses string is valid.