Two Sigma Interview Question

Question about dynamic programing, probability and data manipulation.