Timed practice

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.

--:--

Requirements

What does the person need? Prioritize one or two outcomes.

API contract

Define what the caller sends and receives for create and redirect.

Durable copy and failure

Where is the mapping stored? What happens when a create fails or a code is unknown?

Tradeoff

Name one benefit and one cost. What assumption would change your decision?

Drafts stay on this page. Export before closing or reloading.