Vidyalelo
Data Structure · Q146

Hashing

Programming · Data Structure · question 146

Q146

What is the worst case time complexity of insert function in the hash table when the list head is used for chaining?

A.
O(1)
B.
O(n log n)
C.
O(log n)
D.
O(n)
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board