Define quadratic probing?



Define quadratic probing?..

Answer / Anurag Singh Chauhan

Quadratic probing is a load distribution strategy used in hash tables to find an empty slot when the initial hash value results in a collision. In quadratic probing, if the cell at index h (hash value modulo table size) is occupied, the search continues to cells at indices h+k^2 (where k starts from 1 and increments by one for each collision), wrapping around the table at both ends.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Why arraylist is not efficient for manipulation?

1 Answers  


Can a binary tree be empty?

1 Answers  


Why enum can not be used directly with printf function?

3 Answers  


What is a simple path?

1 Answers  


Differentiate between compilers and interpreters.

1 Answers   Tech Mahindra,


Is array size dynamic or fixed?

1 Answers  


Why you need a data structure?

1 Answers  


What is doubly linked list?

1 Answers  


How many parts are there in a declaration statement using data structures?

1 Answers  


Is linkedlist thread safe?

1 Answers  


What is the method to find the complexity of an algorithm?

1 Answers  


why do tree always takes o(log n) time?

2 Answers   TCS,


Categories