Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1742. Maximum Number of Balls in a Box
Count how many numbers in the range [lowLimit, highLimit] map to each box indexed by the sum of their digits, and return the largest frequency. With lowLimit ≤ highLimit ≤ 10^5, this is essentially computing digit-sum frequencies across the interval and taking the maximum.
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.