Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2244. Minimum Rounds to Complete All Tasks
Partition tasks by difficulty and for each frequency determine the minimum number of rounds (each round completes exactly 2 or 3 tasks of the same difficulty) needed to finish them, returning -1 if any frequency cannot be expressed as a sum of 2s and 3s.
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.