lc/algorithms/stack/remove-outermost-parentheses #175
Replies: 1 comment
-
|
执行后结果貌似不对 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
lc/algorithms/stack/remove-outermost-parentheses
给定一个有效的括号字符串S,移除字符串中最外层的括号,返回新的字符串。 示例: 输入:S = "(()())(())" 输出:"()()()" 解释:最外层的括号被移除,得到新的字符串为"()()()"。 输入:S = "(()())(())(()(()))" 输出:"()()()()(())" 解释:最外层的括号被移除,得到新的字符串为"()()()...
https://www.coding-time.cn/lc/algorithms/stack/remove-outermost-parentheses.html
Beta Was this translation helpful? Give feedback.
All reactions