CRISIL Interview Question

Hashmap working