Question d’entretien chez Amazon

There were two coding questions, leetcode easy and medium