Any fixed hash function will have worst case time.
Suppose we want the hash function to uniformly distribute hash values over the hash table of size m.
Given h(x), we want P(h(x) = h(y)) = 1/m.