📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    What is the primary disadvantage of using open

    addressing for collision resolution compared to separate chaining, especially when the hash table becomes nearly full?
    A Increased memory overhead due to pointers. Correct Answer Incorrect Answer
    B Difficulty in handling deletions efficiently. Correct Answer Incorrect Answer
    C Poorer cache performance. Correct Answer Incorrect Answer
    D Requires a more complex hash function. Correct Answer Incorrect Answer
    E Slower insertion for small tables. Correct Answer Incorrect Answer

    Solution

    In open addressing, deleting an element can be complex because it might break a probe sequence for other elements. Simply marking a slot as empty can lead to failed searches, requiring special "tombstone" markers or re-hashing, which adds complexity.

    Practice Next
    ask-question