Available question text
Given an employees table with manager relationships, find the manager who oversees the largest department (most direct reports) and return their id and name; if multiple managers tie, return the one with the smallest id. This is solved by aggregating direct-report counts per manager and selecting the maximum (with a join to get manager details).
Related questions
Continue with questions that share topics or the same question type.
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 2988. Manager of the Largest Department
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source