public static ArrayList<String> generateParenthesis(int n) {
		if (n < 1)
			return result;
		result = new ArrayList<String>();
		String temp = "";
		// recursion(left,right,temp);
		recursion(n, n, temp);
		return result;
	}