Question d’entretien chez Amazon

Algorithms for specific problems given