Solved

Consider the Formula for Evaluating the Number of Hash Table c=1/2(1+1/(1L)) c=1 / 2^{(1+1 /(1-L))}

Question 22

Multiple Choice

Consider the formula for evaluating the number of hash table comparisons:
c=1/2(1+1/(1L) ) c=1 / 2^{(1+1 /(1-L) ) } , where c = the number of comparisons and L = the load factor.
Given that a hash table of size 100,000 contains 20,000 items, how many comparisons are expected in a linear probe for an item?


A) .5
B) .625
C) 1.125
D) 3

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents