Most Frequent Median

Company: Oracle

Difficulty: medium