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)
I want to ask this question from Hash Tables topic in section Hash Tables of Data Structures & Algorithms I
I had been asked this question in quiz.