+1 vote
in Data Structures & Algorithms I by (88.2k points)
How many steps are involved in creating a hash function using a multiplication method?

(a) 1

(b) 4

(c) 3

(d) 2

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

The question was asked in quiz.

1 Answer

+1 vote
by (672k points)
selected by
Best 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.

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.