Two Sigma interview question

It was 3 leetcode medium level questions, not terribly difficult