Question: B. Use the following hash function to build a hash table of array size (12). hashFunction (s) s leftarrow s. toUpperCase (): hash leftarrow ((s.

B. Use the following hash function to build a hash table of array size (12). hashFunction (s) s leftarrow s. toUpperCase (): hash leftarrow ((s. charAt (1) + s.charAt(0)))/2 - 'A') MOD 12 return hash Use the hash function and the table below to insert the following strings in the hash table: Apple, Banana, Jack, Kite, Motorcycle, Book, Computer, Data, Information, Blue, Green, Red, Yellow, Orange, Car. C. What collision handling technique did you use to deal with collisions? D. What is the name of the other collision handling technique
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
