Google Interview Question

how to hashmap and explain it