Design a URL shortener within an optional time limit. The timer starts only when you click Start. Your text is never locked or auto-submitted.
What does the person need? Prioritize one or two outcomes.
Define what the caller sends and receives for create and redirect.
Where is the mapping stored? What happens when a create fails or a code is unknown?
Name one benefit and one cost. What assumption would change your decision?
Fields you wrote in are shown; empty fields are noted so you can decide what to add. No correctness judgment.
Drafts stay on this page. Export before closing or reloading.