employer cover photo
employer logo

Sollicitatievraag bij SendGrid

How is a Hash Table implemented?

Antwoord op sollicitatievraag

Anoniem

25 sep 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.