+2 votes
in Data Structures & Algorithms I by (88.2k points)
Which scheme provides good performance?

(a) open addressing

(b) universal hashing

(c) hashing by division

(d) hashing by multiplication

Question is from Hash Tables in chapter Hash Tables of Data Structures & Algorithms I

This question was posed to me in an international level competition.

1 Answer

+2 votes
by (672k points)
selected by
 
Best answer
Correct choice is (b) universal hashing

Easiest explanation - Universal hashing scheme provides better performance than other schemes because it uses a unique randomisation approach.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...