Question DSA-HASH-0002
EasyWhat is a hash collision?
- A.
Two equal keys
- B.
A key that can't be hashed
- C.
Show answer and explanation
Answer: D
Collisions are unavoidable when there are more possible keys than slots.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Hashing question
What is a hash collision?
Two equal keys
A key that can't be hashed
Answer: D
Collisions are unavoidable when there are more possible keys than slots.
A full hash table
Two different keys hashing to the same index