Vidyalelo
Data Structure · Q94

Hashing

Programming · Data Structure · question 94

Q94

What is the time complexity of insert function in a hash table using list head?

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

Answer: Option A

Solution

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