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…
More OpenAI interview questions
- Classifier Analysis
- Clean Noisy Human Labels by Scoring Annotator Reliability
- Two-Team Turn-Based Battle Simulator
- Backward Pass of a Row-Sharded MLP with all_gather
- Transformer Fundamentals: Attention, Positions and Normalization
- Debug a Mini GPT and Add a KV Cache