Minimum money needed

It is written in the question that market has infinite supply of orange packets, so doesn’t it mean that the question is a 0-N knapsack problem.

Hi @dishask99,
in 0-N knapsack, we can pick every element only once.
But in dis every orange packet can be picked infinte times.
Hence its not same as 0-N knapsack.
Hope dis helps.
If something is unclear, pls post ur doubt here.