Question d’entretien chez Amazon

Solve XX in code on whiteboard