Pearson interview question

implement hash table class in c++