Two Sigma interview question

It was a coding question..