Median Employee Salary
@Mr.Bin It's my pleasure, and thanks for your reply
What about duplicate salaries? For example, if all salaries in company A are 1,4,4,4,4,6, then the median position is 3 or 4, but the count of "larger or equal" results in 5 when our target salary is 4, cannot match the median position.
No one has replied
Disabled Categories are greyed out
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.