Searching Sorting and Hashing questions

Q20

GATE CS 2023 CSSearching Sorting and HashingMCQ1 mark−1/3 if wrong
An algorithm has to store several keys generated by an adversary in a hash table. The adversary is malicious who tries to maximize the number of collisions. Let kk be the number of keys, mm be the number of slots in the hash table, and k>mk > m.

Which one of the following is the best hashing strategy to counteract the adversary?
Show answer without attempting

Answer: C

0/10 correct0 marks

Related topics in Algorithms