CodingReported in a candidate post, Aug 2021
Minimum bags for weights
Filed under Odessa
The question
Given an array of weights, find the minimum number of bags required to fill all weights with the constraint that the difference between the maximum and minimum weight in a bag should not exceed 4.
No write-up yet. Related questions below have one.
Related Odessa questions
Collected from public candidate posts and coding forums. Updated Nov 2026.