recategorized by
657 views

1 Answer

0 votes
0 votes
EXPECTED NO OF NON EMPTY SLOTS HAVING 'M' KEYS AND 'N' SLOTS IS=N(1-(1-1/N)^M)

HERE M=8 AND N=6

SO NO OF NONEMPETY SLOTS =6(1-(5/6)^8)

                                                  =4.6

Related questions

0 votes
0 votes
1 answer
1
Ram Swaroop asked Jan 27, 2019
1,310 views
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 successful search...
0 votes
0 votes
1 answer
3
1 votes
1 votes
1 answer
4
Vishal Goyal asked Dec 6, 2016
693 views
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 element...