CSC211 ยท 2079 ยท 5 marks
Assume you have to store the data {0,1,2,4,5,7} into a hash table of size 5, with hash function, h(x) = x % 5. Apply linear probing and double hashing as collision resolution techniques.
Assume you have to store the data {0,1,2,4,5,7} into a hash table of size 5, with hash function, $h(x) = x % 5$. Apply linear probing and double hashing as collision resolution techniques. [5]
Data Structures and AlgorithmsChapter 7: Searching and HashingHashingNumerical: hashing collision resolution