摘要:
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 阅读全文
摘要:
给定一个没有重复数字的序列,返回其所有可能的全排列。 示例: 输入: [1,2,3]输出:[ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1]] 阅读全文
摘要:
https://www.cnblogs.com/vinijack/p/8567014.html 阅读全文