Search
⌘K

Leetcode 1875. Group Employees of the Same Salary

Given a list/table of employees with their names and salaries, group employees who share the same salary and return each salary with the corresponding list of employee names (typically only for salaries held by more than one employee). The task tests grouping/filtering by count and string aggregation (or self-join/window functions) to assemble and format the names per salary.


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.