Generate Parentheses

Solution Code

Time Complexity

O(4^n / sqrt(n)

Space Complexity

O(n)