Flipkart interview question

Explain how a hash map works. Write a function to reverse a linked list.