All mock tests are FREE till 31 December — register to save your progress

Match List I (Hashing Collision Handling Method) with List II (Strategy)
List IList II
A. ChainingI. Check next slot
B. Linear ProbingII. Use the second hash function
C. Quadratic ProbingIII. Linked list at index
D. Double HashingIV. Skip slots using quadratic step

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. A-III, B-I, C-IV, D-II

Explanation

Chaining keeps a linked list at each index (A-III). Linear probing checks the next slot (B-I). Quadratic probing skips slots using a quadratic step (C-IV). Double hashing uses a second hash function (D-II).

More Data Structures and Algorithms questions