摘要: Given a string S of '(' and ')' parentheses, we add the minimum number of parentheses ( '(' or ')', and in any positions ) so that the resulting paren 阅读全文
posted @ 2020-08-21 04:27 Schwifty 阅读(106) 评论(0) 推荐(0)
摘要: Given two sequences pushed and popped with distinct values, return true if and only if this could have been the result of a sequence of push and pop o 阅读全文
posted @ 2020-08-21 03:53 Schwifty 阅读(104) 评论(0) 推荐(0)