Given pairs of parentheses, generate all combinations of well-formed parentheses.
Example: For , return ["((()))","(()())","(())()","()(())","()()()"]. The number of valid combinations is the th Catalan number.
Given pairs of parentheses, generate all combinations of well-formed parentheses.
Example: For , return ["((()))","(()())","(())()","()(())","()()()"]. The number of valid combinations is the th Catalan number.