Idexcel interview question

explain How hashmap works internally?