Question DSA-HASH-0030
EasyA hash table of size 7 uses h(k) = k mod 7. In which slot does the key 50 go?
- A.
7
- B.
0
- 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
A hash table of size 7 uses h(k) = k mod 7. In which slot does the key 50 go?
7
0
Sign up free to see the answer and a step-by-step explanation.
1
50