1.

How many steps are involved in creating a hash function using a multiplication method?(a) 1(b) 4(c) 3(d) 2My doubt is from Hash Tables in chapter Hash Tables of Data Structures & Algorithms IThe question was asked in quiz.

Answer»

The correct CHOICE is (d) 2

Easy explanation - In multiplication method 2 steps are INVOLVED. FIRST multiplying the key value by a CONSTANT. Then multiplying this value by m.



Discussion

No Comment Found

Related InterviewSolutions