The time complexity of Hashing is :-
The time complexity of Hashing is :-
Solution
✅ Correct Option: 1
Hashing uses a hash function to convert a key directly into an array index, so search, insert and delete go straight to that location without scanning other elements. With a good hash function and few collisions, each operation takes constant time, , on average.
Option 2: is the worst case, when all keys collide into one bucket and must be searched one by one. It is not the standard complexity of hashing.
Option 3: is the complexity of binary search and balanced trees, which are not hashing.
Option 4: has no link to basic hash table operations.
Related questions:
2026: 18 May Shift 2
2026: 31 May Shift 1
2026: 26 May Shift 1