Altimetrik interview question

why hashmap time complexity is O(1).