Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 781. Rabbits in Forest
Each answer x implies a color group of size x+1; the task is to aggregate identical answers and, for each x, take the minimum number of groups of size x+1 needed to cover all reporters, then sum those group sizes to get the smallest possible total rabbits.
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.