Median of Subarray Uniqueness

Company: Amazon_july

Difficulty: medium