Publicis Sapient interview question

Explain internal working of Hashmap. Create your own custom map.