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


    Question

    A good hash function aims to achieve which of the

    following characteristics?
    A Produce the same hash value for all keys. Correct Answer Incorrect Answer
    B Minimize the number of collisions. Correct Answer Incorrect Answer
    C Be computationally expensive to calculate. Correct Answer Incorrect Answer
    D Generate hash values in a strictly sequential order. Correct Answer Incorrect Answer
    E Be reversible to retrieve the original key from the hash value. Correct Answer Incorrect Answer

    Solution

    A good hash function aims to distribute keys as uniformly as possible across the hash table, thereby minimizing the occurrence of collisions and ensuring efficient performance of hash table operations.

    Practice Next
    ask-question