Ebix interview question

how to implement custom hashMap