Question d’entretien chez AKUNA CAPITAL

Some sort of dynamic programming question