closed by
1,150 views
4 votes
4 votes
closed as a duplicate of: Hashing

Question - Consider a hash table with 8 slots that use chaining for collision resolution. The table is initially empty. What is the probability that after 4 keys are inserted, at least a chain of size 3 is created? (assume simple uniform hashing is used)

Correct answer - $29*8^{^{-3}}$

My answer - $8*8^{^{-3}}$

closed by

Related questions

1 votes
1 votes
1 answer
1
s_dr_13 asked Mar 6, 2019
982 views
Consider an open address hash table with uniform hashing. Out of 10 locations, 8 are occupied. What are the expected number of probes in an unsuccessful and successful se...
0 votes
0 votes
0 answers
2
Rahul_Rathod_ asked Dec 28, 2018
426 views
A) (1-(N / K)) ^ r b) (1-(K / N)) ^ r c) (1+(N / K)) ^ r-1 d) (1-(K / N)) ^ r-1
1 votes
1 votes
0 answers
3
hrcule asked Aug 9, 2018
515 views
Suppose we used a hash fu action H(n) to hash n distinct elements (key) into an array T of length m. What is expected number of collision, if simple uniform hashing is us...
0 votes
0 votes
1 answer
4
Rohan Mundhey asked Nov 9, 2016
692 views
Consider a Hash table containing ‘n’ keys and ‘k’ slots. Each key will hash into a slot in the given Hash table. (Assume collisions are resolved by chaining).1)Wh...