iT邦幫忙

鐵人檔案

2026 iThome 鐵人賽
回列表
Software Development

快樂演算法 系列

延續去年演算法練習持續前進

參賽天數 22 天 | 共 22 篇文章 | 1 人訂閱 訂閱系列文 RSS系列文
DAY 21

排球打的好差 & 322

1.dp[x] = 湊出金額 x 最少需要幾枚硬幣coins = [1,2,5];dp[0] = 0dp[1] = 1 // 1dp[2] = 1...

DAY 22

ground truth second train and test 差 哎 & 322 v2

1.Dynamic Programming先建表,再從小答案推大答案 amount = 5 要記:dp[0] 湊 0 元最少幾枚dp[1] 湊 1 元最少幾...