import java.util.*; public class Solution { public void recursion(ArrayList<ArrayList<Integer>> res, int[] num, ArrayList<Integer> temp, Boolean[] vis){ //临时数组满了加入输出 if(temp.size() == num.length){ res.add(new ArrayList<Integer>(temp)); ...