Available question text
Partition the people into disjoint groups so that each person i is in a group whose size equals groupSizes[i]; the task reduces to collecting indices by required size and outputting fixed-size chunks for each size (a valid partition is guaranteed).
Related questions
Continue with questions that share topics or the same question type.
- All People Report to the Given Manager
Coding
- Coding test: Given a simple mockup implement that UI. Some CSS is already provided and an API to fetch the data also exists. The recruiter prep doc talked about structuring the code well, making sure all functions work, write CSS and write tests. There is no way you can do it all in 1 hour, so it's probably best to ask the interviewer what they expect
Coding
- Find Latest Group of Size M
Coding
- Given an array nums and a sliding window of size k moving from the very left to the very right, return the maximum value in the window for each position. Solve in O(n) time using a deque.
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1282. Group the People Given the Group Size They Belong To
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source