1.

What is the advantage of the multiplication method?(a) only 2 steps are involved(b) using constant(c) value of m not critical(d) simple multiplicationThis key question is from Hash Tables topic in chapter Hash Tables of Data Structures & Algorithms IThis question was addressed to me in an online quiz.

Answer»

Right answer is (C) VALUE of m not critical

For explanation: The value of m can be simply in POWERS of 2 since we can easily implement the FUNCTION in most computers. m=2^p where p is an integer.



Discussion

No Comment Found

Related InterviewSolutions