+1 vote
in Data Structures & Algorithms I by (88.2k points)
Which of the following is the correct function definition for quadratic probing?

(a) F(i)=i^2

(b) F(i)=i

(c) F(i)=i+1

(d) F(i)=i^2+1

The doubt is from Hash Tables topic in portion Hash Tables of Data Structures & Algorithms I

I have been asked this question in exam.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
The correct option is (a) F(i)=i^2

Best explanation: The function of quadratic probing is defined as F(i)=i^2. The function of linear probing is defined as F(i)=i.

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.