Altimetrik Interview Question

why hashmap time complexity is O(1).