Design a URL Shortener and Defend Its Trade-offs

Asked at Oracle · System Design for ML · Difficulty: Medium · Last asked Nov 10, 2026

Design a URL shortening service. A user submits a long URL and gets back a short link; anyone who opens the short link is sent to the original page. The service is read-heavy, links live for years, and the interesting part is defending each design choice against the alternatives.

Loading the problem…