Question d’entretien chez Amazon

some basic questions on logical thinking