Explanation: the amount of 3 cannot be made up just with coins of 2. Example 3: Input: amount = 10, coins = [10]. Output: 1. 这道题是之前那道Coin Change的 ...
確定! 回上一頁