This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingCount the combinations of coins that make an amount.
What this asks
Count the combinations of coins that make an amount.
Unbounded knapsack counting: coins outside, capacity low to high, adding dp[amount - coin].
Try the matching visualizer modeThe full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing