Collisions in Hash Tables

This lesson is about how collisions occur in hashing and the common strategies used in resolving these collisions.

When you map large keys into a small range of numbers from 0-N, where N is the size of the list, there is a huge possibility that two different keys may return the same index. This phenomenon is called collision.

Strategies to Handle Collisions

There are several ways to work around collisions in the list. The three most common strategies are:

  • Linear
...
Access this course and 1400+ top-rated courses and projects.