换硬币
写在前面,小白从零刷题,在解答会写出思路,正确答案,以及所有使用到的语法和知识点
1.dp
- 如何想到?
- 求最小值
- 解题步骤
- 456
class Solution {
public:
int coinChange(vector<int> &coins, int
写在前面,小白从零刷题,在解答会写出思路,正确答案,以及所有使用到的语法和知识点
class Solution {
public:
int coinChange(vector<int> &coins, int