OKG Interview Question

how to implement a hash map