摘要: 问题:输出的是全排列,多少种组合, ***当有重复出现 可用字典记录个数,用list记录是否使用过 一维问题的回溯秒杀: 216. 组合总和 III def combinationSum3(self, k: int, n: int) -> List[List[int]]: out=[] def f( 阅读全文
posted @ 2020-07-26 01:55 SuckChen 阅读(151) 评论(0) 推荐(0) 编辑