← Back to problem
Practice: URL Shortener (TinyURL / bit.ly)
Turn long URLs into short, unique aliases and redirect users at very high read volume. A classic warm-up that tests key generation, read-heavy caching and analytics.
45-minute interview simulation
You will move through 7 stages, each with a time budget. Type your answer as you would say it out loud. The reference answer is hidden until the review. Going over time is allowed, but it is tracked.
- Requirements — 5 min
- Back-of-envelope estimates — 5 min
- API design — 5 min
- Data model — 5 min
- High-level design — 10 min
- Deep dives — 10 min
- Trade-offs & wrap-up — 5 min