Input: If I am given multiple food products. And the quantities of food bags varies in lbs (less than 10)
Problem statement: Assign each food bag a BOX NUMBER and each BOX cannot be greater than 10lbs, can be equal to 10lbs or as close as 10.
I have to fill up the boxes to fullest i.e.10 lbs. The boxes can be left partial (less than 10) only if there is no other option, else try to fill up to fullest. See trial workflow and sample input data attached and expected output.
How would you compute? please help.
Assumption - do not mix different food types.
