Search
⌘K

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.

Comments

Your account is free and you can post anonymously if you choose.