HARMAN Interview Question

How Hashmap works?