In statistics and probability theory, the median is the value separating the higher half from the lower half of a data sample. The Median is the "middle" of a sorted list of numbers.
This problem requires we find which employee's salary is median and what salary is for each company, NOT calculating the company's median salary.