Given an array of weights (1.01 to 3.00 kg) and bags with a 3.00 kg capacity, find the minimum number of bags needed. Since each item is > 1.00 kg, a bag can hold at most two items.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.