摘要: candidates = [10,1,2,7,6,1,5], target = 8,所求解集为:[ [1, 7], [1, 2, 5], [2, 6], [1, 1, 6]] class Solution: def combinationSum2(self, candidates: List[int 阅读全文
posted @ 2019-07-16 23:33 呼呼嘻嘻 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 给定一个没有重复数字的序列,返回其所有可能的全排列。 示例: 输入: [1,2,3]输出:[ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1]] 阅读全文
posted @ 2019-07-16 15:23 呼呼嘻嘻 阅读(193) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/vinijack/p/8567014.html 阅读全文
posted @ 2019-07-16 09:42 呼呼嘻嘻 阅读(111) 评论(0) 推荐(0) 编辑