Question d’entretien chez Amazon

Leetcode easy, something to do with hashmaps