Question

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 fu

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

13) From the question Size of the hash table - 13 Numbers need to insert 15, 8, 10,4, 2, 6, 3, 7, 19, 24, and 32, Hash functih(3) = 3 mod 13 3 Collision occur. (hck) tin mod 13 22 121 =3 (3+17) mod 13 =4 4 is already occupied 1:2=) ( 3+22) mod 13 = 7(6 (19) + 3%) mod 13 = (6+9) mod 13 - 2 already occupied. (h (19)+4%) mod 13 = (6+16) mod 13 : 9 Insert at 9th position, hc24Hash Table : 15 2 3 4 5 7 2. 4 32 6 3 8 19 10 7 24 9 10 12 The collision resowed by using quadratic probing and all the eleme

Add a comment
Know the answer?
Add Answer to:
C++ Question 13 Insert the values 15, 8, 10, 4, 2, 6,3,7,19,24, and 32 into an...
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
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