Maximize processes assigned to a specific processor under constraints
Filed under Gojek
The question
Given n processes and m processors, find the maximum number of processes that can be assigned to a specific kth processor such that every processor gets at least one process and the difference in processes between adjacent processors does not exceed 1.
No write-up yet. Related questions below have one.
Related Gojek questions
Collected from public candidate posts and coding forums. Updated Nov 2026.