Question d’entretien chez ASUS

A medium question of dynamic programming.