An advantage of a chained hash table (external hashing) over an…
1996
An advantage of a chained hash table (external hashing) over an open-addressing scheme is:
Answer: C. Deletion is easier — ConceptA hash table resolves collisions either by keeping colliding entries in a separate bucket structure or by probing other positions in the table array.…
- A.
Worst case complexity of search operations is less
- B.
Space used is less
- C.
Deletion is easier
- D.
None of the above
Attempted by 285 students.
Show answer & explanation
Correct answer: C
Concept
A hash table resolves collisions either by keeping colliding entries in a separate bucket structure or by probing other positions in the table array.
Deletion must preserve the reachability of every remaining key. The required repair depends on whether reachability is carried by links or by a probe sequence.
Application
In separate chaining, keys hashing to one index are stored in that bucket’s linked structure. Once the target node is found, deletion reconnects its neighboring links.
In open addressing, displaced keys remain reachable through a probe sequence. Simply clearing a slot can make a later search stop too early, so deletion normally needs a tombstone or an equivalent repair.
Thus the chained representation needs only a local link update, whereas open addressing must also preserve probe continuity.
Contrast
“Worst case complexity of search operations is less” is not the distinguishing advantage: either scheme can require examining O(n) stored keys in the worst case.
“Space used is less” does not describe chaining: linked nodes carry pointer or link overhead, while open addressing stores entries in the table array.
“None of the above” is excluded because the deletion mechanisms are materially different.
Result
Therefore, the advantage among the offered values is “Deletion is easier.”
A video solution is available for this question — log in and enroll to watch it.
Explore the full course: Iocl Engineers Officers Grade A Paper 2