Ezvor

569. Median Employee Salary

HardDatabase Preparing judge… LeetCode
Database

Hints

Hint 1
Still remember how to select the sum which group by one column?
Hint 2
Try to think about how to get the median from a sorted list.
Hint 3
How to get the median one item for odd number list while how to get the median two items for even number list, try to unify them.