Technical
Given a list of items with different sizes, write an algorithm to pack these items into the minimum number of batches without exceeding the capacity of each batch.
Top community answer
No community answers yet.
Contribute an answerHave a better answer?
Share your experience and earn credits toward your next interview session.
Contribute an answer