Fix the bug of wrong function call (#709)
This commit is contained in:
parent
e052cb1d3b
commit
d37b795ef2
@ -59,6 +59,6 @@ pub fn main() {
|
||||
println!("凑出目标金额的硬币组合数量为 {res}");
|
||||
|
||||
// 空间优化后的动态规划
|
||||
let res = coin_change_dp_ii_comp(&coins, amt);
|
||||
let res = coin_change_ii_dp_comp(&coins, amt);
|
||||
println!("凑出目标金额的硬币组合数量为 {res}");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user