____ is a situation where two elements map to the same slot in the hash table.
____ is a situation where two elements map to the same slot in the hash table.
Solution
A collision occurs when the hash function gives the same index (slot) to two different keys, so both elements try to occupy the same position in the hash table. It is resolved by methods such as chaining or open addressing (linear probing, quadratic probing, double hashing).
Option 3: overflow means a data structure (such as a stack, or a full hash table) has no space left to store more elements. It is not about two keys sharing one slot.
Option 4: underflow means trying to remove an element from an empty structure.
Option 1: spoofing is a security term for impersonating a user or system, and has nothing to do with hashing.
Related questions:
2026: 21 May Shift 1
2026: 23 May Shift 2
2026: 11 May Shift 2
2026: 29 May Shift 2