Question: 2. Suppose you have the following hash table, implemented using linear probing. The hash function we are using is the identity function, b(x) = x.

2. Suppose you have the following hash table, implemented using linear probing. The hash function we are using is the identity function, b(x) = x. 0 1 2 3 4 5 6 7 8 9 18 12 3 14 4 21 a) In which order could the elements have been added to the hash table? There are several correct answers, and you should give all of them. Assume that the hash table has never been resized, and no elements have been deleted yet. A 12, 14, 3,9, 4, 18, 21 12, 9, 18, 3, 14, 21, 4 C 12, 3, 14, 18,4,9, 21 D 9, 12, 14, 3, 4, 21, 18 E 9, 14, 4, 18, 12, 3, 21 B b) Remove 3 from the hash table, and write down how it looks afterwards
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
