Use the hash function: h(element) = element % 6 to store the collection of numbers 12, 2, 4, 15, 19, and 59 in a hash table.
What is the index of the values 59, 4, 2, and 15 in the hash table?
1
5, 4, 2, 3
2
5, 3, 2, 4
3
2, 4, 5, 3
4
2, 3, 5, 4
Use the hash function: h(element) = element % 6 to store the collection of numbers 12, 2, 4, 15, 19, and 59 in a hash table.
What is the index of the values 59, 4, 2, and 15 in the hash table?