Skip to content

Commit 3401f85

Browse files
Time: 7 ms (5.84%) | Memory: 19.9 MB (5.72%) - LeetSync
1 parent fec645a commit 3401f85

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

22-generate-parentheses/generate-parentheses.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,4 @@ def recursive_generation(c, start, end):
2727

2828
class Solution:
2929
def generateParenthesis(self, n: int) -> List[str]:
30-
# [(, 0, 0, 0, 0, 0]
31-
32-
# [(, ), 0, 0, 0, 0]
33-
# [(, 0, 0, ), 0, 0]
34-
# [(, 0, 0, 0, 0, )]
35-
36-
3730
return prettyPrint(recursive_generation(["."] * n * 2, 0, n * 2))

0 commit comments

Comments
 (0)