Question: This question is concerned with hashing with open addressing, where the table size is 1 0 ( indexed from 0 to 9 ) and the

This question is concerned with hashing with open addressing, where the table size is 10(indexed from 0 to 9) and the (linear) probing sequence is defined byh(k)= k mod 10 andh(k, i)=(h'(k)+ i) mod 10.Assume that the content of the hash table T is as follows:T[0]=49
T[1]=1
T|2]= NIL
T[3]= NIL
T[4]- DELETED
T[5]=25
T|6]= DELET
T7=36
T8=64
T|9]=9
Answer these questions please
A) The first cell (index to the table) probed by Hash-Search(T,84) is
B) The second cell (index to the table) probed by Hash-SearchT, 84) is
C) The first cell (index to the table) probed by Hash-Insert(T,19) is
D) The second cell (index to the table) probed by Hash-Insert(T,19) is
E) How many cells does Hash-Delete(T,49) probe?Please note that this question does not ask which cell is probed? It asks about HOW MANY.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!