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.
5 write-ups
| Title | Difficulty |
|---|---|
| Design a Homepage Recommendation System The models behind a personalized home page of rows, for e-commerce, food delivery stores, Netflix-style titles and Spotify shelves: row generation, item ranking and page assembly. | 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 People You May Know Suggest people to connect with on a Facebook or LinkedIn-style network: graph and shared-context candidates, a ranker for invites that get accepted, cold start and privacy. | Medium |
| Design Facebook Event Attendance Prediction Predict who will actually show up to an event, private or public, from RSVPs, social ties and history, when real attendance is rarely observed, and turn it into recommendations and headcounts. | 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 |