Sollicitatievraag bij Bloomberg

Dynamic programming question that was difficult