Design a URL shortening service similar to Bit.ly or TinyURL.
The system should allow users to submit a long URL and receive a shortened version that redirects to the original. Consider how to generate unique short codes, store mappings, and handle high read traffic.
URL shorteners are one of the most common system design interview questions. They test your understanding of hashing, storage trade-offs, and API design fundamentals.
Evaluation criteria and weights will be revealed after you submit your solution. This ensures a fair assessment of your design skills.
Draw your architecture diagram, explain your design decisions, and get AI-powered feedback.
For the best experience, design challenges on a desktop or tablet — drawing the architecture on a phone is hard.