LeetCode MEDIUM 184 Department Highest Salary Summary
Generated by Codex with GPT 5.6 Sol XHigh
Quick facts
- Difficulty:
MEDIUM - Problem: Department Highest Salary
- Topics:
Database
What the problem is asking
There are two tables. Employee stores each employee’s name, salary, and department ID, while Department maps each department ID to a display name. The result must contain every employee whose salary is the highest in that employee’s department.