Design a URL Shortener
This is the Expedia system design interview that two Seattle candidates got in 2026. In April a Software Engineer II candidate had it as the design round after a HackerRank coding stage. In June a Software Engineer had it as the design round of a loop with a hiring manager round and two medium coding rounds. The April candidate described the round as a discussion. It focused on high-level design, scalability, API design and tradeoffs. So we'll build a clean design first, then go deep on the four places where a URL shortener has real choices to make.
It looks small: a few endpoints and one table. But reads and writes need completely different things. Links are created rarely and opened constantly, a single link can go viral, and a short code has to be unique forever across billions of links. Every decision below follows from those three facts.
ExpediaPremium lesson · System design round
The Expedia design, worked end to end.
- Requirements and scopeSystem design · Frequently asked
- The API and data model
- The design, drawn out1 diagram
- 4 deep divesWith the tradeoffs
$49 a year · all 122 companies · instant access
21,000+ candidate reports
Expedia interview guideKnow what Expedia asks before you walk in.
39 coding · 6 system design · 23 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.