Skip to content

Commit 74e537d

Browse files
author
khanhkhanhlele
committed
backtracking/generate_parentheses.py create doc
1 parent e2a78d4 commit 74e537d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backtracking/generate_parentheses_iterative.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
"""
2+
Generate Parentheses using Iterative Backtracking.
3+
https://leetcode.com/problems/generate-parentheses/
4+
"""
15
def generate_parentheses_iterative(length: int) -> list:
26
"""
37
Generate all valid combinations of parentheses (Iterative Approach).

0 commit comments

Comments
 (0)