Frage im Vorstellungsgespräch bei Squarepoint Capital

Dynamic programming question, simple probability theory problem