Question DSA-HASH-0046
MediumKeys 10, 17 and 24 are inserted into a table of size 7 with h(k) = k mod 7 and quadratic probing (h + i²). Where does 24 go?
- A.
Slot 4
- B.
Slot 5
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Hashing question
Keys 10, 17 and 24 are inserted into a table of size 7 with h(k) = k mod 7 and quadratic probing (h + i²). Where does 24 go?
Slot 4
Slot 5
Sign up free to see the answer and a step-by-step explanation.
Slot 6
Slot 0