Amazon interview question

How do you implement a hash table?