Available question text
Given arrays apple and capacity where packs can be split across boxes, find the minimum number of boxes whose combined capacities can hold the total number of apples. This reduces to selecting the fewest boxes whose summed capacities reach the total apples (greedy by largest capacities).
Related questions
Continue with questions that share topics or the same question type.
- Put Boxes Into the Warehouse I
Coding · Array · Greedy · Sorting
- Put Boxes Into the Warehouse II
Coding
- Building Boxes
Coding · Binary Search · Greedy · Math
- Check if Grid can be Cut into Sections
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3074. Apple Redistribution into Boxes
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source