Question

Given the hash function: H(key) = key/2; Hash table size = 7 and   index = H(key)%...

Given the hash function:

H(key) = key/2; Hash table size = 7 and   index = H(key)% Hash table size

Show how the hash table below looks after adding the following (key, value) pairs, (illustrate your strategy for collision handling)  

  • (3000, “A”)
  • (3232, “B”)
  • (1223, “C”)
  • (4569, “K”)
  • (6767, “F”)
  • (1234, “P”)
  • (2324, “F”)
  • (3422, “G”)
  • (1231, “R”)

index

Key

Value

0

1

2

3

4

5

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Given the hash function: H(key) = key/2; Hash table size = 7 and   index = H(key)%...
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