Question d’entretien chez Conviva

Box stacking problem. The classic dynamic programming problem.