mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 11:21:42 +08:00
add leetcode problem-cn part2
This commit is contained in:
15
算法题(国内版)/problem (Chinese)/括号 [bracket-lcci].html
Normal file
15
算法题(国内版)/problem (Chinese)/括号 [bracket-lcci].html
Normal file
@@ -0,0 +1,15 @@
|
||||
<p>括号。设计一种算法,打印n对括号的所有合法的(例如,开闭一一对应)组合。</p>
|
||||
|
||||
<p>说明:解集不能包含重复的子集。</p>
|
||||
|
||||
<p>例如,给出 n = 3,生成结果为:</p>
|
||||
|
||||
<pre>
|
||||
[
|
||||
"((()))",
|
||||
"(()())",
|
||||
"(())()",
|
||||
"()(())",
|
||||
"()()()"
|
||||
]
|
||||
</pre>
|
Reference in New Issue
Block a user