@@ -0,0 +1,546 @@
+public class Solution %7B%0A    %0A    private List%3CString%3E list;%0A    public List%3CString%3E generateParenthesis(int n) %7B%0A        list = new ArrayList%3CString%3E();%0A        backtrack(n, 0, 0, %22%22);%0A        return list;%0A    %7D%0A    %0A    private void backtrack(int n, int left, int right, String ret) %7B%0A        if(n == left && n == right) %7B%0A            list.add(ret);%0A            return;%0A        %7D%0A        %0A        if(left %3C n)%0A            backtrack(n, left + 1, right, ret+%22(%22);%0A        if(left %3E right)%0A            backtrack(n, left, right+1, ret+%22)%22);%0A    %7D%0A%7D%0A

Create Generate_Parentheses.java