Beginner Data Structures & Algorithms
Q32 / 100

What is a hash collision?

Correct! Well done.

Incorrect.

The correct answer is B) When two different keys produce the same hash index

B

Correct Answer

When two different keys produce the same hash index

Explanation

Collisions are inevitable (pigeonhole principle). They are resolved using chaining (linked lists at each bucket) or open addressing (probing for an empty slot).

Progress
32/100