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

Kim Thu Đoàn

New member
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)
 

Tìm kiếm

Back
Top