This problem is paper-only - see explanation for the canonical SQL solution. (LeetCode 184 classic.)
Given Employee(id, name, salary, department_id) and Department(id, name), return one row per department containing the highest-paid employee. If multiple employees tie for the top in a department, include all of them.
For the auto-grader: return [{ department, employee, salary }] sorted by department ascending, employee ascending.