LeetCode---Backtracking && DP
摘要:
322. Coin Change 思路:动态规划,构造一个数组,存入当前index最少需要多少个coin public int coinChange(int[] coins, int amount) { if(coins == null || coins.length == 0 || amount 阅读全文
posted @ 2017-02-04 12:04 LeonNew 阅读(180) 评论(0) 推荐(0) 编辑