Domanda di colloquio di Two Sigma

It was a coding question..