摘要:
在二维平面上进行回溯搜索: String word; char[][] board; public final boolean exist(char[][] board, String word) { this.word = word; this.board = board; for (int i 阅读全文
摘要:
比较常规的解法为回溯解法: List<List<Integer>> reList = new LinkedList<List<Integer>>(); public final List<List<Integer>> subsets1(int[] nums) { reList.add(new Arr 阅读全文