Crédit Agricole interview question

How is hashing works in a HashMap