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

Phương Linh

New member
What is the time complexity of insert function in a hash table using list head?
A. O(1)
B. O(n)
C. O(log n)
D. O(n log n)
 

Tìm kiếm

Back
Top