public static String getPermutation(int n, int k) {
		String temp = "";
		if (n < 1)
			return temp;
		result = new ArrayList<String>();
		boolean[] visited = new boolean[n];
		dfs(temp, n, visited, k);
		return result.get(k - 1);
	}