摘要: 39. 组合总和 怎么才能避免重复?比现在数小的数就别append到path里面了,之前肯定都试过了 class Solution: def combinationSum(self, candidates: List[int], target: int) -> List[List[int]]: re 阅读全文
posted @ 2024-04-15 17:56 MiraMira 阅读(17) 评论(0) 推荐(0)