Dynamic Programming: Knapsack - Number of Ways to Make Change
Given the following partial dp array after processing coins [1, 2] for amount=5:
dp = [1, 1, 2, 2, 3, 3]
What is the next coin denomination added if the final dp array after processing all coins is [1, 1, 2, 2, 3, 4]?
