Q.

Which of the following scenarios leads to linear running time for a random search hit in a linear-probing hash table?

A. all keys hash to same index
B. all keys hash to different indices
C. all keys hash to an even-numbered index
D. all keys hash to different even-numbered indices
Answer» A. all keys hash to same index
775
0
Do you find this helpful?
5

Discussion

No comments yet

Related MCQs