所有公开日志
跳到导航
跳到搜索
所有牛奶河Wiki公开日志的联合展示。您可以通过选择日志类型、输入用户名(区分大小写)或相关页面(区分大小写)筛选日志条目。
- 2024年4月25日 (四) 11:22 阿奔 讨论 贡献创建了页面Leetcode - 322 - Coin Change (创建页面,内容为“322. Coin Change * Medium You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. Return the fewest number of coins that you need to make up that amount. If that amount of money cannot be made up by any combination of the coins, return -1. You may assume that you have an infinite number of each kind of coin. Example 1: Input: coins = [1,2,5], amount = 11 Output: 3 Expl…”)