MathWorks Interview Question

Implement a hash list in C++