Anonymous Interview Question

How to do hashmap ?