Question DSA-HASH-0009
MediumKeys 12, 22, 32 are inserted into a hash table of size 10 with h(k) = k mod 10 and linear probing. Where does 32 go?
- A.
Index 4
- B.
Index 2
- 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 12, 22, 32 are inserted into a hash table of size 10 with h(k) = k mod 10 and linear probing. Where does 32 go?
Index 4
Index 2
Sign up free to see the answer and a step-by-step explanation.
Index 3
Index 5