Correct Answer (Detailed Explanation is Below)
C.
O(n)
Detailed Explanation
Although hash tables provide
O(1) average search time, their worst-case search complexity can be
O(n). This can happen when many keys collide and end up in the same bucket or when probing becomes highly inefficient. In separate chaining, a very long chain can require scanning many elements. With a good hash function, appropriate table sizing, and controlled load factor, such severe collision patterns are generally reduced and average performance remains close to constant time.