need help with this question two parts, please. C.) Add the following numbers to a 5-entry hash table using separate chaining to resolve collisions. Stop before adding an item that would result in α > 3.0. This means you might not use all the numbers. (Spoiler alert: you won't use them all.) 39 68 60 71
I need help with this question two parts, please.
C.) Add the following numbers to a 5-entry hash table using separate chaining to resolve collisions. Stop before adding an item that would result in α > 3.0. This means you might not use all the numbers. (Spoiler alert: you won't use them all.)
39 68 60 71 83 52 99 55 49 77 58 26 76 66 37 28
For the hash function, simply take the number mod the table size.
In 5 blanks, write the list of numbers that would end up at that entry in the table, separated by spaces. If there is no number at that location, write empty.
D.) Add the following numbers to an 11-entry hash table using separate chaining to resolve collisions. Stop before adding an item that would result in α > 3.0. This means you may not use all the numbers.
39 68 60 71 83 52 99 55 49 77 58 26 76 66 37 28
For the hash function, simply take the number mod the table size.
In 11 blankS, write the list of numbers that would end up at that entry in the table, separated by spaces. If there is no number at that location, write empty.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps