Write a function to compute the number of combinations that make up that amount. You may assume that you have infinite number of each kind of coin.
编写函数计算要得到目标金额,有多少种不同的硬币组合方式。
Write a function to compute the number of combinations that make up that amount. You may assume that you have infinite number of each kind of coin.
编写函数计算要得到目标金额,有多少种不同的硬币组合方式。
应用推荐