From aa0bb2f210a27a9c5aac0b7bfee8aeb86a690e0b Mon Sep 17 00:00:00 2001 From: GaoBo <18279552824@163.com> Date: Thu, 25 Jul 2019 08:50:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9leetcode=E9=A2=98=E8=A7=A3?= =?UTF-8?q?=E5=8A=A8=E6=80=81=E8=A7=84=E5=88=9201=E8=83=8C=E5=8C=85?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E7=AC=AC=E4=BA=94=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/notes/Leetcode 题解 - 动态规划.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/notes/Leetcode 题解 - 动态规划.md b/docs/notes/Leetcode 题解 - 动态规划.md index 738656fb..c30b11d3 100644 --- a/docs/notes/Leetcode 题解 - 动态规划.md +++ b/docs/notes/Leetcode 题解 - 动态规划.md @@ -906,9 +906,6 @@ Explanation: there are four ways to make up the amount: ```java public int change(int amount, int[] coins) { - if (amount == 0 || coins == null || coins.length == 0) { - return 0; - } int[] dp = new int[amount + 1]; dp[0] = 1; for (int coin : coins) {