Page 1 of 1

Please fill the following and explain some of the code in comments if possible. 1) hash function 1 = length of the city/

Posted: Fri Jul 01, 2022 5:41 am
by answerhappygod
Please fill the following and explain some of the code incomments if possible.
1) hash function 1 = length of the city/state string(modulo size of table)2) hash function 2 = sum of the character codes of the city/statestring (modulo size of table)3) hash function 3 = product of the first 2 character codes incity/state string (modulo size of table)