摘要: 377. 组合总和 Ⅳ class Solution { public int combinationSum4(int[] nums, int target) { int[] dp = new int[target + 1]; //求排列 每一层求得是所有物品刚好凑满i的排列数 每个物品无限使用 d 阅读全文
posted @ 2022-06-22 17:21 一梦两三年13 阅读(11) 评论(0) 推荐(0) 编辑