Learn · free on every plan
Worked solutions
Complete walkthroughs of interview problems, in the order you would deliver them: requirements, the design step by step, the deep dives an interviewer pushes on, and what is expected at each level. Each one matches a problem you can practise.
- Ticket bookingDesign TicketmasterSell reserved seats to live events without selling any seat twice, keep money and tickets in step, and stay up and fair when a hundred thousand fans arrive in one minute.Medium · Core 27 min · 13 diagrams
- URL shortenerDesign a URL shortenerTurn long URLs into short codes that open quickly worldwide, while keeping every code unique, removable and hard to abuse.Medium · Core 28 min · 10 diagrams
- RAG assistantDesign a RAG assistantBuild an assistant that retrieves only the company passages an employee may open, answers from them with sources, and keeps the corpus fresh as documents and access change.Hard · Core 28 min · 12 diagrams
- ChatGPT-style assistantDesign a ChatGPT-style assistantLet tens of millions of people talk to models you run on your own GPUs, with words that appear as they are written, a memory each person controls and nothing unsafe on screen.