Squarepoint Capital interview question

Dynamic programming. Statistics Mental Math Brainteasers