mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-05 22:56:48 +08:00
Fix the bug of wrong function call (#709)
This commit is contained in:
@ -59,6 +59,6 @@ pub fn main() {
|
|||||||
println!("凑出目标金额的硬币组合数量为 {res}");
|
println!("凑出目标金额的硬币组合数量为 {res}");
|
||||||
|
|
||||||
// 空间优化后的动态规划
|
// 空间优化后的动态规划
|
||||||
let res = coin_change_dp_ii_comp(&coins, amt);
|
let res = coin_change_ii_dp_comp(&coins, amt);
|
||||||
println!("凑出目标金额的硬币组合数量为 {res}");
|
println!("凑出目标金额的硬币组合数量为 {res}");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user