Minimize the Maximum Parcels per Agent
Asked at Amazon · Coding Questions · Difficulty: Medium
Agent `i` currently holds `parcels[i]` parcels, and there are `extra_parcels` more that must all be handed out among the agents. Distribute every extra parcel to minimize the maximum number of parcels held by any single agent, and return that minimum possible maximum.
Loading the problem…