Two Sigma Interview Question

Math, coding and finance