May Mobility interview question

How does a hash table work?