Problem

Suppose that the keys A through G, with the hash values given below, are inserted in some...

Suppose that the keys A through G, with the hash values given below, are inserted in some order into an initially empty table of size 7 using a linear-probing table (with no resizing for this problem).

key

A

B

C

D

E

F

G

hash (M = 7)

2

0

0

4

4

4

2

Which of the following could not possibly result from inserting these keys?

a. E F G A C B D


b. C E B G F D A


c. B D F A C E G


d. C G B A D E F


e. F G B D A C E


f. G E C A D B F

Give the minimum and the maximum number of probes that could be required to build a table of size 7 with these keys, and an insertion order that justifies your answer.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 3.4