Question

What is the worst-case time complexity for inserting an element into a hash table that uses separate chaining for collision resolution?

A O(1)
B O(log n)
C O(n)
D O(n log n)
E O(n^2)
Practice Next

Hey! Ask a query