For a hash table of size 23, the hash function used is h1(key)=key%23. Initially the table contains a single key stored in the table at location 15. If double hashing is used, and h2(key) = 7 – key%7, where will the next 3 keys (key1=15, key2=84, key3=383) that hash to location 15 be stored? Question 12 options:   6, 19, 24   21, 22, 17   21, 14, 20   6, 13, 14

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter3: Table Creation And Management
Section: Chapter Questions
Problem 6RQ: What happens to the existing rows of a table if the DEFAULT value of a column is changed?
icon
Related questions
Question

For a hash table of size 23, the hash function used is h1(key)=key%23. Initially the table contains a single key stored in the table at location 15. If double hashing is used, and h2(key) = 7 – key%7, where will the next 3 keys (key1=15, key2=84, key3=383) that hash to location 15 be stored?

Question 12 options:

 

6, 19, 24

 

21, 22, 17

 

21, 14, 20

 

6, 13, 14

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Hash Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning