Question d’entretien chez Amazon

Leetcode array manipulation very easy, then a sorting based leetcode one