Question d’entretien chez Bloomberg

Dynamic programming question that was difficult