Question: Suppose that the following keys are inserted into an initially empty linear probing hash table but not necessarily in the order given: key hash ---
Suppose that the following keys are inserted into an initially empty linear probing hash table but not necessarily in the order given:
key hash --- ---- A 2 C 4 H 2 L 6 N 1 W 3 Z 6
Assuming that the size of the hash table is 7 and that it does not grow or shrink, which one or more of the following could be the contents of the resulting array?
Question 4 options:
| N L Z A W C H | |
| C Z H N W A L | |
| L N H W A C Z | |
| L N A H W C Z | |
| H N L W Z A C |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
