Question

anvas - ХС 0 Question 13 10 pts Insert the values 15,8, 10,4.2.6,3,7,19,24, and 32 into an open addressing hash table of size

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Giren values 15, 8, 10, 4, 2, 6, 3, 7, 19, 24, 32 Size of hash table (S) = 13 h(x)=x mod 13. we are using quadratic probing F

Insect 6! h66) = 6 mod 13 = 6 Insect element 6 at inder 6 Insect 3 h(3) = 3 mod 13 = 3 (collision). 1=1, h (3)= (3 + (2) ./.

i=4 h(19)= (19416) mod 13 = 35 mod 1395 Insect 19 at index 9 Insert zu? haruſ= 24 med 13 11(collision (= 1, h (24% (24 + 12 I

final Hash Table a 2 15 2 ترا 4 y 32 5 6 C 3 7 8 8 19 م 7 24 12

please upvote and comment for doubts

Add a comment
Know the answer?
Add Answer to:
anvas - ХС 0 Question 13 10 pts Insert the values 15,8, 10,4.2.6,3,7,19,24, and 32 into...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • C++ Question 13 Insert the values 15, 8, 10, 4, 2, 6,3,7,19,24, and 32 into an...

    C++ Question 13 Insert the values 15, 8, 10, 4, 2, 6,3,7,19,24, and 32 into an open addressing hash table of size 13 with hash function h(x) = x mod 13 and quadratic probing collision resolution. Show the steps taken to insert each number, including collision resolution, as well as the final table. It is not necessary to include all the intermediate tables, only the arithmetic used in insertions. B I VA-A-I EX5 11 xX, EE - ? Vx 12pt...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT