← ALL NOTES
Array

3074. Apple Redistribution into Boxes

Given arrays apple (number of apples of different kinds) and capacity (box capacities). Apples of any kind can be split across boxes. Find the minimum number of boxes to hold all apples. Greedily…

Loading…