Design a URL Shortener: The Gotchas Hiding Inside the Easiest System Design Question
The URL shortener question looks trivial, which is exactly why interviewers use it. Here is what they are really probing, the gotchas that separate senior candidates from junior ones, and a structure for an answer that holds up under follow-ups.