Search
⌘K

Leetcode 2358. Maximum Number of Groups Entering a Competition

Partition the multiset of student grades into the maximum number of ordered non-empty groups (reordering allowed) such that both the group sizes and the sums of grades are strictly increasing from one group to the next. The challenge is to maximize the number of groups under these two monotonic constraints for up to 1e5 grades.


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.