Concept Flow - Coin Change Minimum Coins
Start with amount = target
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, check dp[target
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 up to target.
