Dynamic Programming: Knapsack - Coin Change II (Count Ways)
Suppose the problem is modified so that each coin can be used at most once (0/1 knapsack variant). Which of the following changes to the original code correctly counts the number of combinations?
