Video hint not clear

In the question it’s written that there is infinite supply of Oranges, so, this should be solved by 0-N knapsack but it’s solved with 0-1 knapsack in the hint. Also, what is the role of N which is given int the first line of input?

@pulkit_99
hello Pulkit,
can u please paste the screenshot of the question

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.