AlgoMaster Logo

Apple Redistribution into Boxes

apple=[1, 3, 2],capacity=[4, 3, 1, 5, 2]
0 / 10
totalApples = ?currentCapacity = 0apple011322capacity (sorted desc)0413213542
algomaster.io
Step:Start: Find minimum number of boxes to redistribute all apples