【leetcode】39. 组合总和(java实现)

示例:html 输入: candidates = [2,3,5], target = 8, 所求解集为: [ [2,2,2,2], [2,3,3], [3,5] ] 这道题我没解出来,可是看了大神的代码瞬间神清气爽:java class Solution { public List<List<Integer>> combinationSum(int[] candidates,
相关文章
相关标签/搜索