Glossary term
What is collision? Meaning for developers
In DSA
Two different keys that land in the same bucket. The fix is to keep a short list of entries in each bucket (chaining).
Learn it properly · DSALesson 15: Basic HashingCounting with arrays and maps, how a hash table works inside, and why lookup becomes instant.In Practical Design Problems
Two different inputs get the same code. Handle it with a unique rule in the database and a retry.
Learn it properly · Practical Design ProblemsLesson 1: Design a URL Shortener (Long URL to Short URL)Making IDs, Base62, collisions, caching for read-heavy traffic, 301 vs 302 and analytics, custom aliases, expiry and stopping abuse.