Pergunta de entrevista da empresa Two Sigma

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