Q2.1 Chaining
Insert 17,44,74,88 , in order, into an empty hash table of size 5 with chaining, using hash function h(x)=x mod 5
Write/draw the resulting table
Q2.2 Open addressing with linear probing
Insert the same numbers in the same order into an open-addressing initially empty table using linear probing, with the same hash function h(x)=x mod 5. Draw/write down the resulting table
Get Answers For Free
Most questions answered within 1 hours.