Algorithms

Collision

When 2 different pieces of data produce the same hash or key.

Example

2 different links giving the same 7-character key are a collision.

Test yourself: Collision

Hash tables

With 100 buckets and hash(key) = key, 12836 and 20336 land in the same bucket, number ___.

Lessons that use it

More algorithms terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.