Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2910. Minimum Number of Groups to Create a Valid Assignment
Given counts of numbered balls, split them into the fewest monochromatic boxes (you may split identical-valued balls across boxes) so that every box contains only one value and the sizes of all boxes differ by at most one. Determine the minimum number of boxes needed for up to 1e5 balls.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.