Question d’entretien chez Microsoft

Question on Stack and Dynamic Programming