Problem
- In this problem we’re given an integer
n
, return all well-formed parentheses strings that you can generate with n
pairs of parentheses.
Example
Approach 1
Visualize the problem
Implementation
Complexity Analysis
- Time Complexity: O(n4n)
- Space Complexity: O(n)