Video in progress

In a system design interview where the requirements are deliberately vague, how do you communicate with the interviewer?

I don't start drawing right away. I spend 5-7 minutes asking questions: users, main scenarios, load, consistency requirements. I state my assumptions out loud, then at each big decision I pull the interviewer into a discussion of trade-offs.

📖 Answer

In a prompt like "design a URL shortener", the ambiguity is left in on purpose. The interviewer wants to see how you turn a vague problem into a concrete task, which is a senior's everyday work.

The start goes roughly like this:

"Let me start with a few questions: how many new links per day and how many redirects do you expect? Do links expire? Do we need analytics or only the redirect? Are there custom aliases?"

If there's no answer, I make an assumption myself and say it: "I'll take 10 million redirects a day, with reads 100 times more than writes. With that assumption the cache matters."

Along the way:

  • The overall picture first, then depth: in the first 10 minutes a simple, working diagram. Then I go deep wherever the interviewer is interested.
  • I state trade-offs openly: "For ID generation there are two options: a DB sequence is simple, but a single point; pre-allocated ranges are more complex, but scale horizontally. At the current load the first is enough."
  • If the interviewer says "good, but...", that's a request to change direction. I don't argue: "interesting, shall we look in that direction?"
  • I leave the last 5 minutes for a short summary and "what I would do with more time".

The most common mistake is drawing in silence for 45 minutes and saying "here it is" at the end. This is a conversation interview too.