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 Bot and Spam Detection System Catch bot accounts and spam posts on a social platform in real time with a cascade of rules, behavior models and text classifiers, while adversaries adapt and real users stay unharmed. | Medium |
| 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 a Receipt and Invoice Parsing System Turn receipt photos and invoice PDFs into structured fields: OCR, layout-aware extraction, VLM fallbacks grounded in the text, calibrated confidence and a human review loop that teaches the model. | Medium |
| Design an Image Captioning System Automatic alt text for every uploaded image: vision-language models with OCR and post context, grounding checks against hallucination, evaluation with CIDEr and blind and low-vision raters, and serving at scale. | 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 |