LeetCode: 2244-Minimum Rounds to Complete All Tasks 解題紀錄
題目
You are given a 0-indexed integer array tasks
, where tasks[i]
represents the difficulty level of a task. In each round, you can complete either 2 or 3 tasks of the same difficulty level.