GATE / CS ARCHIVE

GATE CSE 1996 / QUESTION 1.13

Deletion with hash chaining

Data Structures · Hashing · Full GATE CSE 1996 paper

GATE 1996, Q1.13 1 mark · MCQ
Report issue

Hashing

Question 1.13, GATE 1996: Why can separate chaining be preferable to open addressing: better worst-case search, less storage, easier deletion, or another claim?
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

In chaining, keys in a bucket form a separate collection. Once the key and necessary predecessor are found, deletion simply unlinks it without changing the search path for other keys. In open addressing, clearing a slot outright may incorrectly terminate a later probe, so deletion needs tombstones or careful reorganization. Both approaches can have linear worst-case search, and chaining normally incurs pointer or container overhead. The reliable advantage among these claims is therefore easier deletion, C, rather than a universal space or worst-case-time improvement.

Original paper, page 2