Infosys interview question

How hash map works internally?