Deloitte interview question

Hashmap and concurrent hashmap Singleton Pattern