• + 0 comments

    This is property of hash table. Operation of calculating the hash function determines index in table - O(1). In C++ use unordered_map.