We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad4bbd6 commit eeb4131Copy full SHA for eeb4131
1 file changed
backtracking/generate_parentheses_iterative.py
@@ -14,16 +14,16 @@
14
5. Return the result containing all valid combinations.
15
16
Args:
17
- n (int): The desired length of the parentheses combinations.
+ n (int): The desired length of the parentheses combinations
18
19
Returns:
20
- list: A list of strings representing valid combinations of parentheses.
+ list: A list of strings representing valid combinations of parentheses
21
22
Time Complexity:
23
- O(2^(2n)).
+ O(2^(2n))
24
25
Space Complexity:
26
27
"""
28
29
0 commit comments