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]=49T[1]=1T|2]= NILT[3]= NILT[4]- DELETEDT[5]=25T|6]= DELETED117-36118]=64T|9]=9Answer 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!