NatWest Group interview question

why not to use hashmap in multi threaded environment