【LeetCode】39. 組合總和

給定一個無重複元素的數組 candidates 和一個目標數 target ,找出 candidates 中全部能夠使數字和爲 target 的組合。數組 candidates 中的數字能夠無限制重複被選取。網絡 說明:this 全部數字(包括 target)都是正整數。 解集不能包含重複的組合。  示例 1:code 輸入: candidates = [2,3,6,7], target = 7,
相關文章
相關標籤/搜索