- The Following Hash Table Is Built Using This Function For Double Hashing Void Double Hash Hash Table K H1 K Mod 7 H 1 (37.54 KiB) Viewed 47 times
The following hash table is built using this function for double hashing. void double_hash(hash_table, k) h1 = k mod 7 h
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
The following hash table is built using this function for double hashing. void double_hash(hash_table, k) h1 = k mod 7 h
The following hash table is built using this function for double hashing. void double_hash(hash_table, k) h1 = k mod 7 h2 = 1 + k mod 5 if( hash_table[h1] == EMPTY) { hash_table[h1] k; } else { hash_table[(h1 + h2)mod 7] = k } Does the result below reflect the output of calling double_hash for every element in Array I [3, 4, 9, 10) Index O Value True False 1 29 3 3 4 10 5 6