Two Sigma interview question

1 algo data structure, 2 design questions