OKG Interview Question

asked to implement a hash map