Citadel Securities interview question

Median on sliding window problem