Two Sigma interview question

Math, coding and finance