Skip to content

Commit

Permalink
Fix the bug of wrong function call (krahets#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
night-cruise authored Aug 30, 2023
1 parent e052cb1 commit d37b795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codes/rust/chapter_dynamic_programming/coin_change_ii.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}");
}

0 comments on commit d37b795

Please sign in to comment.