1.

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+1The doubt is from Hash Tables topic in portion Hash Tables of Data Structures & Algorithms II have been asked this question in exam.

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.



Discussion

No Comment Found

Related InterviewSolutions