Skip to content
Hard Design: URL Shortener (TinyURL)

Which ID generation strategy avoids collisions entirely without database lookups?

— Tests your understanding of this concept.

Answer Options

A MD5 hash truncation
B Random UUID
C Twitter Snowflake IDs
D Counter-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