Paytm interview question

How do hashmap work? How do concurrenthashmap work?