Problem Brief
Minimum Memory for Hard Drives
NEW GRADOA
The general meaning of the question is as described. I will follow up in detail once I find reliable sources.
The second question is about distributing games to N children. There are m games in total, and the memory size of each game is stored in an array. You need to prepare N hard drives to distribute the games to the children. The requirement is that each child must receive at least one game, and all games must be distributed. The question asks: What is the minimum memory capacity required for each of the N hard drives?
1Example 1
Input
games = [6, 7, 10, 12, 1], N = 3
Output
13
Explanation
The minimum memory for each hard drive would be 13.
Constraints
Limits and guarantees your solution can rely on.
ππ