in DS
1,515 views
0 votes
0 votes

given keys:

224562,137456,214562

140145,214576,162145

144467,199645,234534

Using the digit-extraction method (first, third and fifth digits) and quadratic probing, stores the keys shown above in an array with 19 elements. What is the indexes of bin into which all the  records are inserted?

hint : digit extraction(1,3,5) for 224562->246 mod 19 = 18 and soon.

in DS
1.5k views

1 comment

0
0

1 Answer

0 votes
0 votes

Indexes of bin in order of given keys : -

4 Comments

it is clearly mentioned that first,third and fifth digit

that means for 224562 => 246 not 242
0
0
Oh,my mistake. I saw your answer and there was an error.
0
0
you mean you thougth there was an error?
0
0

Related questions