ML system design
ML and AI system design for interviews: recommendation and ranking, LLM serving, RAG and agents. Free to read.
ML and AI system design for interviews: recommendation and ranking, LLM serving, RAG and agents. Free to read.
6 write-ups
| Title | Difficulty |
|---|---|
| Design a Duplicate Event Detector Find events that describe the same real-world happening, created by different hosts with different words, using blocking, a pairwise match model, clustering and safe merge actions. | Medium |
| Design a Prohibited Item Detection System Keep weapons and other banned goods off a marketplace with multimodal classifiers over listing text and photos, seller signals, and a human review loop that produces the labels. | Medium |
| Design an AI Shopping Assistant A chat assistant that turns "tacos for six, under $50" into a real cart: grounded catalog search, validated cart changes, multi-turn refinement, latency and cost, and the travel-booking variant. | Medium |
| Design Natural-Language Search for a Food Delivery App Search that understands "protein food under 30 min" and "spicy biryani near me": query parsing into filters, hybrid lexical and vector retrieval, context-aware ranking and dish tagging. | Medium |
| Design NotebookLM Let users drop PDFs, web pages and YouTube videos into a notebook and ask questions answered only from those sources, with every claim linked to the exact passage it came from. | Medium |
| Design Visual Search Search with a photo, like Pinterest Lens or Google Lens: object detection and crops, image embeddings trained with contrastive learning, ANN retrieval over billions of images, re-ranking and exact product matching. | Medium |