Cloudera interview question

How would you implement hash table on your own? Write the code for implementing your own hash table?