Generate ParenthesesGiven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. Example 1:Input: n = 3Output: ["((()))","(()())","(())()","()(())","()()()"]Example 2:Input: n = 1Output: ["()"] Constraints:1 class Solution: def generateParenthesis(self, n: int) -> List[str]: def dfs(left, right, s) : if len(s) == n * 2 : ..