Concept Flow - Coin Change Minimum Coins
Start with amount
Initialize DP array with large values
Set dp[0
For each coin
For each amount from coin to target
Update dp[amount
After filling dp array
If dp[target
End
We build a table dp where dp[i] stores the minimum coins needed for amount i. We update dp by trying each coin for all amounts.
