Search
⌘K

Leetcode 185. Department Top Three Salaries

Find all employees whose salary is among the top three distinct salaries in their department and return their department name, employee name, and salary. Include ties (multiple employees with the same salary) and departments with fewer than three distinct salaries.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.