OKG interview question

how to implement a hash map