Question
Which statement about Collisions and Load Factor is the strongest interview answer?
- Collisions happen when different keys map to the same bucket, and load factor tracks how full the table is getting.
- Collisions and Load Factor is mostly a naming style choice and has little effect on runtime or design.
- Collisions and Load Factor exists mainly to reduce the number of Java files in a project.
- Collisions and Load Factor matters only for frontend frameworks, not for core Java applications.
Hint
Start with the core rule behind Collisions and Load Factor.
Answer and rationale
Correct answer: A. Collisions happen when different keys map to the same bucket, and load factor tracks how full the table is getting.
Collisions happen when different keys map to the same bucket, and load factor tracks how full the table is getting. This is the base concept interviewers commonly test first.
Track: Java