HARMAN interview question

How Hashmap works?