What is the search complexity in direct addressing?
(a) O(n)
(b) O(logn)
(c) O(nlogn)
(d) O(1)
This interesting question is from Direct Addressing Tables in chapter Hash Tables of Data Structures & Algorithms I
I had been asked this question in examination.