1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 19:18:14 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/算法题(国内版)/problem (Chinese)/括号 [bracket-lcci].html

16 lines
297 B
HTML
Raw Normal View History

2022-03-27 20:38:29 +08:00
<p>括号。设计一种算法打印n对括号的所有合法的例如开闭一一对应组合。</p>
<p>说明:解集不能包含重复的子集。</p>
<p>例如给出 n = 3生成结果为</p>
<pre>
[
"((()))",
"(()())",
"(())()",
"()(())",
"()()()"
]
</pre>