摘要: public List<List<Integer>> combinationSum(int[] candidates, int target) { List<List<Integer>> ans = new ArrayList<>(); List<Integer> combine = new Arr 阅读全文
posted @ 2022-02-12 23:16 明卿册 阅读(17) 评论(0) 推荐(0) 编辑
摘要: class Solution { public int coinChange(int[] coins, int amount) { int[] dp = new int[amount+1]; for(int i = 0; i < dp.length; i++) dp[i] = amount+1; / 阅读全文
posted @ 2022-02-12 22:30 明卿册 阅读(16) 评论(0) 推荐(0) 编辑