Question d’entretien chez Amazon

standard leet code question with time limit