Wildix interview question

Q: How a hash map works?