Question d’entretien chez Amazon

How would you solve this problem?