Question d’entretien chez Amazon

questions are leetcode medium to hard