GlobalLogic interview question

How HashMap works internally