Project: URL shortener design and simulation
60 min · Advanced
A design answer is strongest when it comes with numbers that a program produced. This project turns the URL shortener design into a ShopLite share-link service on paper and in code, so you can show both the design document and a run that proves the cache and the click queue work.
Interview questions this lesson answers
- How does your shortener make codes unique across servers?
- What did the simulation show about the cache?
- How do you count clicks without slowing redirects?
- Why 7 characters if 5 would cover 100 million links?
- What would you change for private links?
Sign in to continue this lesson
Create an account to read every lesson, practise with the exercises and keep track of your progress.