Pregunta de entrevista de Two Sigma

Explain your thinking process clearly.