Problem Exploration / Scoping
Design a URL shortener like bit.ly — map a long URL to a short unique alias and redirect back at scale. The core problems are generating collision-free short keys and serving billions of low-latency redirects.
This part is about scoping. The interviewer also plays the product owner: ask about who uses the product and how, the scale and usage numbers, and the quality targets (availability, latency, durability), and they will answer. Where something isn't specified, state your assumption and move on. Detailed capacity math has its own part; here, establish the numbers and what they imply.
What a strong answer sounds like
State the decision, connect it to a requirement, and name the tradeoff. Ask the interviewer for any product facts you need (users, usage, scale, targets) — they will answer. Keep the design focused on the workload.
The AI interviewer asks about this part of Design URL Shortener. The interviewer guides you through topics one by one.