代码优化空间很大 import java.util.*; public class Solution { public ArrayList<ArrayList<Integer>> permuteUnique(int[] num) { permute1(num,0); return new ArrayList<>(set); } public void permute1(int[] num,int i) { if(i==num.length){ ArrayLi...