mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 19:31:42 +08:00
add leetcode problem-cn part2
This commit is contained in:
15
算法题(国内版)/problem (English)/括号(English) [bracket-lcci].html
Normal file
15
算法题(国内版)/problem (English)/括号(English) [bracket-lcci].html
Normal file
@@ -0,0 +1,15 @@
|
||||
<p>Implement an algorithm to print all valid (e.g., properly opened and closed) combinations of n pairs of parentheses.</p>
|
||||
|
||||
<p>Note: The result set should not contain duplicated subsets.</p>
|
||||
|
||||
<p>For example, given n = 3, the result should be:</p>
|
||||
|
||||
<pre>
|
||||
[
|
||||
"((()))",
|
||||
"(()())",
|
||||
"(())()",
|
||||
"()(())",
|
||||
"()()()"
|
||||
]
|
||||
</pre>
|
Reference in New Issue
Block a user