Fix the bug of wrong function call (#709)

This commit is contained in:
Night Cruising 2023-08-31 02:33:13 +08:00 committed by GitHub
parent e052cb1d3b
commit d37b795ef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}");
}