Design a URL Shortener

Asked at OpenAI · System Design for ML · Difficulty: Medium · Last asked Jan 10, 2026

A URL shortener takes a long web address and turns it into a short link. When a user clicks the short link, they are redirected to the original page. Services like Bit.ly and TinyURL are examples of this.

Loading the problem…