HardDesign: URL Shortener (TinyURL)

A URL shortener has 100M URLs and uses MD5 hash truncated to 6 Base62 chars. What is the main risk?

Tests your understanding of this concept.

Answer Options

AURLs are too long
BHash collisions requiring retry logic
CMD5 is too slow
DBase62 is not URL-safe

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: URL Shortener (TinyURL) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: URL Shortener (TinyURL) topic (System Design Cases).

More Design: URL Shortener (TinyURL) Questions