HardDesign: URL Shortener (TinyURL)

Which ID generation strategy avoids collisions entirely without database lookups?

Tests your understanding of this concept.

Answer Options

AMD5 hash truncation
BRandom UUID
CTwitter Snowflake IDs
DCounter-based with Redis

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