OpenText interview question

Write HashMap