RS Software interview question

How HashMap works internally?