Accenture interview question

How does a hashmap works internally?