employer cover photo
employer logo

Question d’entretien chez SendGrid

How is a Hash Table implemented?

Réponse à la question d'entretien

Utilisateur anonyme

25 sept. 2018

It's an array. You iterate through the array insert it into an open index. Typically values will be hashed, and that hash value will be the first index we search for. Performance usually gets bad when the array is half-full.