Pregunta de entrevista de Squarepoint Capital

dynamic programming and probability questions.