Skip to content
Hard Design: 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

A URLs are too long
B Hash collisions requiring retry logic
C MD5 is too slow
D Base62 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