//递归确定所在层数,相当简洁和快速的写法private boolean[] mark=null; private int[] data=null; public String getPermutation (int n, int k) { // write code here data=new int[n+1]; mark=new boolean[n+1]; data[0]=1; for (int i = 1; i < data.length; i++) { data[i]=data...