Bloomberg Interview Question

Hashmap related question and some basic data structures.