Domanda di colloquio di Uber

Hashmap and to find efficient implementation for a method