Leoforce interview question

Coding round on Hash Maps