Anonymous interview question

How to do hashmap ?