Question d’entretien chez Amazon

usual coding problems from cracking the code interview