Recent questions tagged hashing

1 votes
1 answer
181
The average number of probe required when inserting an element with load factor alpha (assume uniform hashing) 1 / 1-alpha how? Please explain
0 votes
0 answers
182
Consider a hashing function that resolves collision by quadratic probing .Assume the address space is indexed from 1 to 6. Which of the following locations will never be ...
1 votes
0 answers
183
which is correct method for QP :1) 2) H(k) = (H+ i^2)mod m
1 votes
0 answers
185
https://gateoverflow.in/?qa=blob&qa_blobid=11318007552752576944Answer given is : 40/121
3 votes
1 answer
186
Suppose we use hash function H(n) to hash n distinct element(keys) into an array T of length m. What is the expected number of colliding pairs of element, if we use simpl...
2 votes
1 answer
189
Given the input sequence {11, 33, 43, 99, 34, 79, 19} and hash table of size 10 with the hash function h(k) = k mod 10. If hash table uses quadratic probing, the number o...
2 votes
0 answers
192
what is the expected number of probs required when inserting an element into an open address hash table with load factor alpha(a), assume uniform hashing??
0 votes
1 answer
193
If h is any hashing function and is used to hash n keys into a table of size m, here n<=m, the expected number of collisions involving a particular key x isa) Less than 1...
2 votes
1 answer
195
someone explain
0 votes
0 answers
196
Why 4 is multiplied in part. In the solution.
0 votes
1 answer
199
A hash table of length 100 uses chaining.What is the probability that all the values are hashed into the same slot after 5 insertions?
3 votes
1 answer
200
Given the input sequence {11,33,43,79,19} and hash table of size 10 with the hash function h(k)=k mod 10. If hash tables uses quadratic probing,the number of collisions o...
3 votes
1 answer
201
Consider the hashing table with ‘m’ slots and ‘n’ keys. If the expected number of probes in unsuccessful search is 3. The expected number of probes in a successfu...
4 votes
2 answers
202
Suppose we used a hash function H(n) to hash ‘n’ distinct elements (keys) into an array T of length ‘m’.What is the expected number of colliding pairs of elements...
4 votes
2 answers
203
Hash a list of $3$ keys into hash table with $20$ locations. What will be the probability of the event $A$ in which hashing the three keys causes a collision?$0.123$$0.14...
1 votes
1 answer
205
In hash function using linear probing to reduce collision, the number of probes required to insert an item is identical with number of probes needed to retrieve it.is it ...
0 votes
1 answer
208