Practice
Every problem and prompt in the library. The company tags count the separate candidate reports of that question, so the most-asked work comes first.
- 12A web crawler, then make it concurrenthardpython55 min· Anthropic, 16 reports
- 21Infection spread on a gridhardpython60 min· OpenAI, 10 reports
- 11A system that grows in levels (the CodeSignal format)hardpython90 min· Anthropic, 4 reports· OpenAI, 2 reports· Airbnb, 1 report
- 22A GPU credit ledger with expiring creditshardpython60 min· OpenAI, 7 reports
- Review a design doc for a batch sampling serviceharddesign review45 min· Anthropic, 7 reports
- Why Anthropic, and what you think about AI safetymediumvalues story15 min· Anthropic, 6 reports
- 23LRU cache, then make it survive a crashhardpython60 min· Anthropic, 4 reports· Netflix, 1 report
- 24An image pipeline, then make it parallelhardpython60 min· Anthropic, 5 reports
- 33From stack samples to a tracemediumpython45 min· Anthropic, 5 reports
- 25Split stays and group staysmediumpython60 min· Airbnb, 4 reports
- 29Find the duplicate filesmediumpython40 min· Anthropic, 4 reports
- 30Order the tasksmediumpython45 min· Netflix, 3 reports· Airbnb, 1 report
- 26A key-value cache with a time to livemediumpython45 min· Netflix, 3 reports
- 36A block allocator for GPU memorymediumpython45 min· OpenAI, 3 reports
- 55A work queue that survives failureshardpython60 min· OpenAI, 3 reports
- Safety over revenue, and the stock goes to zerohardvalues story15 min· Anthropic, 3 reports
- 13Debug a broken miniGPT, then add a KV cachehardtorch45 min· OpenAI, 2 reports
- 14Matrix multiplication forward and backward (custom autograd)mediumtorch40 min· OpenAI, 2 reports
- 31Windows over a request logmediumpython40 min· Netflix, 2 reports
- 41Is the new model better, or did it get lucky?mediumpython35 min· OpenAI, 1 report· Airbnb, 1 report
- 43An agent harnessmediumpython45 min· Anthropic, 1 report· OpenAI, 1 report
- 44A rate limiter for an LLM APImediumpython45 min· OpenAI, 2 reports
- 46A probability kitmediumpython40 min· Netflix, 2 reports
- 48t-tests, p-values and many testsmediumpython45 min· Netflix, 1 report· OpenAI, 1 report
- 54Count the machines in a treemediumpython60 min· OpenAI, 2 reports
- 56A movie billboard that rotates titles by scoremediumpython45 min· Netflix, 2 reports
- 57No repeated titles on the first screenmediumpython45 min· Netflix, 2 reports
- Design a collaborative prompt playgroundharddesign45 min· Anthropic, 2 reports
- Design an ML job scheduler for a shared CPU and GPU clusterharddesign45 min· Netflix, 2 reports
- 01Scaled dot-product attention (NumPy)mediumnumpy40 min· Netflix, 1 report
- 04KV cache for incremental decoding (PyTorch)hardtorch50 min· Netflix, 1 report
- 17Coin change with dollar amounts (dynamic programming)mediumpython45 min· Airbnb, 1 report
- 34Regions inside regionsmediumpython45 min· Airbnb, 1 report
- 35Redirect chainsmediumpython45 min· Airbnb, 1 report
- 37A fragment that finds one itemmediumpython45 min· Airbnb, 1 report
- 38The best way down a trail parkmediumpython45 min· Airbnb, 1 report
- 40What a request costsmediumpython40 min· Airbnb, 1 report
- 42A classifier from a model's Yes and Nomediumpython40 min· Anthropic, 1 report
- 47Averages and the central limit theoremeasypython30 min· Netflix, 1 report
- 50Regression from scratchmediumpython40 min· Netflix, 1 report
- 53Statistics across many nodesmediumpython40 min· Anthropic, 1 report
- Design a system that finds the interesting images in a huge unlabeled pileharddesign45 min· OpenAI, 1 report
- Design search ranking for a stays marketplace with no text queryharddesign45 min· Airbnb, 1 report
- Design the feature layer for a homepage ranker with three freshness needsharddesign45 min· Netflix, 1 report
- Why OpenAI, and how your goals line up with its missionmediumvalues story15 min· OpenAI, 1 report
- 02Multi-head causal self-attention (PyTorch)mediumtorch50 min
- 03A GPT from scratch (PyTorch)hardtorch65 min
- 05Decoding: temperature, top-k, top-p, and a repetition penalty (PyTorch)mediumtorch35 min
- 06Backprop by hand: a two-layer MLP (NumPy)mediumnumpy45 min
- 07Reading an A/B test on conversion (Python, no SciPy)mediumpython35 min
- 08How many users does the test need? (Python, no SciPy)mediumpython30 min
- 09CUPED: cut the variance of an experiment metric (NumPy)mediumnumpy40 min
- 10SQL window functions (SQLite)mediumsql40 min
- 15Explain and fix AI-generated SQLmediumsql40 min
- 16LoRA from scratch (PyTorch)mediumtorch45 min
- 18Ranking metrics and position bias (NumPy)mediumnumpy50 min
- 19Randomized by city, analyzed by user: clustered standard errors (NumPy)hardnumpy45 min
- 20When you can't run an A/B test: difference-in-differences (NumPy)mediumnumpy40 min
- 27NumPy axes, broadcasting and stackseasynumpy25 min
- 28Tensor shapes for attention (PyTorch)easytorch25 min
- 32A configuration store that remembers every changemediumpython40 min
- 39How many GPUs a token service needsmediumpython40 min
- 45A sharding sheetmediumpython45 min
- 49Ranking from few ratingsmediumpython40 min
- 51Likelihood and cross entropy from scratchmediumpython40 min
- 52KL divergence, discrete and continuousmediumpython40 min
- Candid feedback someone didn't want to hearmediumvalues story15 min· Netflix
- Design retrieval-assisted guidance for customer support agentsharddesign45 min· Airbnb
- Going out of your way to help someone succeedmediumvalues story15 min· Airbnb
- Seven estimates a design round needsmediumestimation drill25 min
- Tell me about a technical disagreementmediumvalues story15 min
- Triage a quality regression while every dashboard is greenhardincident case40 min· Anthropic