Veeva Systems interview question

Hashmap related coding question