Question d’entretien chez Amazon

1- A greedy algorithm question about packaging