1.

In quadratic probing, if the table size is prime, a new element cannot be inserted if the table is half full.(a) True(b) FalseThe above asked question is from Hash Tables in portion Hash Tables of Data Structures & Algorithms IThis question was posed to me in examination.

Answer»

The correct ANSWER is (b) False

The BEST EXPLANATION: In quadratic probing, if the table SIZE is prime, we can insert a new ELEMENT even though table is exactly half filled. We can’t insert element if table size is more than half filled.



Discussion

No Comment Found

Related InterviewSolutions