Fix a definition.

This commit is contained in:
krahets
2023-08-27 00:50:18 +08:00
parent debf42b189
commit 9731a46d67
85 changed files with 167 additions and 159 deletions
@@ -17,7 +17,7 @@ func TestCoinChange(t *testing.T) {
res := coinChangeDP(coins, amt)
fmt.Printf("凑到目标金额所需的最少硬币数量为 %d\n", res)
// 状态压缩后的动态规划
// 空间优化后的动态规划
res = coinChangeDPComp(coins, amt)
fmt.Printf("凑到目标金额所需的最少硬币数量为 %d\n", res)
}