Rolling Median / Sliding Window Median

Asked at Radix Trading · Coding Questions · Difficulty: Hard

Given an integer array `nums` and an integer window size `k`, a window of size `k` starts from the left side of the array and moves one position to the right at a time.

Loading the problem…