Two Sigma interview question

The final technical interview involved a question that used the sliding window solution.