Generate Parentheses
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
Generate Parentheses

Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.

Example 1:
Input: 3
Output: ["((()))","(()())","(())()","()(())","()()()"]
Input
arr =3

Start

n
3
Open Count
0
Close Count
0
Current
_
Results (0)
Variables
No variables to display
DepthFunction Call
Stack empty
0/103