Find the minimum number of storage partitions needed to hold all data.
Unlock detailed company stats for this questionUpgrade
The storage drive is not used efficiently because the data is scattered across many partitions, each with some space already used under its maximum capacity. Rearrange the data so that it takes up the fewest possible partitions, and return the minimum number of partitions needed. Example: n = 5 partitions, used = 3, 2, 1, 3, 1, total capacity = 3, 5, 3, 5, 5. Output = 2.
Community answers
No answers contributed by the community yet.
Related questions
Find the minimum number of cycles needed to start all microservices.Find the minimum number of delivery partners needed to serve all houses in a grid.Find the minimum number of power-of-two additions or subtractions needed to reduce n to 0.Related courses

Course

Course
Course
