Question d’entretien chez Amazon

Don't remember, two algorithms problems leetcode style