Question d’entretien chez Infosys

How HashMap works in general?