Morgan Stanley interview question

What's the time complexity using Hashmap