Capgemini interview question

HashMap internal working