RTUComputer ScienceYr 2023 · Sem 32023

Q10Data Structures

Question

2 marks

Explain how quadratic probing is done.

Answer

Quadratic probing resolves hash collisions by probing forward in progressively larger, quadratic jump intervals.

Quadratic probing is a sophisticated open addressing collision resolution strategy. When a primary collision inevitably occurs at hash index , the algorithm does not simply check the immediate next slot. Instead, it systematically probes forward using a quadratic mathematical polynomial sequence: , then , then , effectively eliminating primary clustering issues.

Back to Paper