摘要: 地址:https://leetcode-cn.com/problems/remove-all-adjacent-duplicates-in-string/ <?php /** 1047. 删除字符串中的所有相邻重复项 给出由小写字母组成的字符串 S,重复项删除操作会选择两个相邻且相同的字母,并删除它 阅读全文
posted @ 2020-08-26 16:42 花花妹子。 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 地址:https://leetcode-cn.com/problems/remove-outermost-parentheses/ <?php /** 1021. 删除最外层的括号 有效括号字符串为空 ("")、"(" + A + ")" 或 A + B,其中 A 和 B 都是有效的括号字符串,+ 阅读全文
posted @ 2020-08-26 16:29 花花妹子。 阅读(115) 评论(0) 推荐(0) 编辑