+1 vote
in Data Structures & Algorithms I by (88.2k points)
In quadratic probing, if the table size is prime, a new element cannot be inserted if the table is half full.

(a) True

(b) False

The above asked question is from Hash Tables in portion Hash Tables of Data Structures & Algorithms I

This question was posed to me in examination.

1 Answer

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

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.