in Algorithms retagged by
440 views
0 votes
0 votes

in Algorithms retagged by
440 views

4 Comments

edited by
that's what my confusion is option b and d are looking equivalent

and in uniform hashing the probe sequences of each key is likely to be m! permutations .Uniform hashing generalizes to produce a whole probe sequence and in open addressing to compute the probe sequences none of the techniques (linear probing, quadratic probing , double hashing) fulfills the assumption of uniform hashing

source - cormen

then what will be its time complexity?
0
0
edited by
share your approach @arvin
0
0
i just comment about options not for answer

for answering this question, it requires what is α means and what is Hash table size and what is case(best or worst or average) information
0
0

1 Answer

1 vote
1 vote

here we consider UNIFORM HASHING( as given) which states that the next item to be hashed has an equal probability of being placed into any of the slots independent of any other elements.

assuming that the hash values can be calculated in T(h(x)) =O(1) and the key value to be searched has an expected length of α.

than total time will be O(1+α).

 

 

 

by