摘要: 代码(未剪枝) class Solution { List<List<Integer>> res = new ArrayList<>(); List<Integer> path = new ArrayList<>(); public List<List<Integer>> combinationSu 阅读全文
posted @ 2022-05-16 11:31 Ac_c0mpany丶 阅读(19) 评论(0) 推荐(0)
摘要: 代码1(自己) class Solution { List<List<Integer>> res = new ArrayList<>(); List<Integer> path = new ArrayList<>(); public List<List<Integer>> combinationSu 阅读全文
posted @ 2022-05-16 10:40 Ac_c0mpany丶 阅读(19) 评论(0) 推荐(0)
摘要: 代码 class Solution { List<List<Integer>> res = new ArrayList<>(); List<Integer> path = new ArrayList<>(); public List<List<Integer>> combine(int n, int 阅读全文
posted @ 2022-05-16 10:12 Ac_c0mpany丶 阅读(23) 评论(0) 推荐(0)