2079 10

BIT201 ยท 2079 ยท 5 marks

Explain collision and collision resolution in hashing. What is double hashing?

Explain collision and collision resolution in hashing. What is double hashing? [5]

Data Structures and AlgorithmsChapter 7: Searching and HashingDouble hashing collision resolution

A collision occurs when two or more different keys are mapped to the same hash table index by the hash function. For example, if hash function is h(k) = k mod 10: - h(23) = 3 - h(33) = 3 โ†’ Collision! Collisions are unavoidable when the number of possible keys is larger than the table size. --- Al...