Practice
Implement the primitives that ML engineering interviews and real systems are built on. Every problem runs in your browser. No setup, no submission queue — just write Python and press Run.
Featured
The 100 most interview-relevant ML problems — attention, backprop, optimizers, metrics & more — hand-picked from the catalog and ranked.
Build intuition from scratch — problems beyond the interview set, chosen to pair with the step-by-step, animated Code Explainer.
Prep by company
Search, Ads, DeepMind, YouTube. Strong on classical ML, ranking, and large-scale serving.
Meta AI / Reality Labs / Ads ranking. Heavy on PyTorch internals, recommendation systems, multi-task learning.
LLM training and post-training. Expect transformer internals, attention variants, sampling, and tokenization.
Frontier LLMs and safety. Transformer mechanics, RLHF/RLAIF, evals, and inference-time techniques.
- #1Accuracy scoreEasyEvaluation Metrics10 tests
- #2AdaBoost fit (decision stumps)MediumEnsemble LearningBoosting10 tests · Zomato
- #3Adadelta optimizerMediumCalculus10 tests
- #4Adagrad optimizerEasyCalculus10 tests
- #5Adam optimiser stepMediumCalculus10 tests · Meta · OpenAI · Anthropic · Zomato
- #6Adamax optimizerMediumCalculus10 tests
- #7AdamW step (decoupled weight decay)MediumCalculusRegularization10 tests · Zomato
- #8Affine coupling layer (normalizing flow)MediumNeural Networks10 tests
- #9Assemble the Critic's audit inputEasyAgentic AI10 tests
- #10Build the chat messages listEasyLLMsAgentic AI10 tests
- #11Cache-before-search, write-after-fetchMediumAgentic AI10 tests
- #12Which ReAct step are we on?EasyAgentic AI10 tests
- #13Count the dedup savingsEasyAgentic AI10 tests
- #14Find the bottleneck executorMediumML System DesignAgentic AI10 tests
- #15Format retrieved docs as contextEasyLLMsML System DesignAgentic AI10 tests
- #16Rebuild findings from gather resultsEasyAgentic AI10 tests
- #17One model, three roles — route by promptEasyLLMsAgentic AI10 tests
- #18Accumulate findings across attemptsEasyAgentic AI10 tests
- #19MockLLM keyword routingMediumLLMsAgentic AI10 tests
- #20MockSearchEngine keyword retrievalEasyLLMsML System DesignAgentic AI10 tests
- #21The Orchestrator feedback loopMediumAgentic AI10 tests
- #22Parallel execution profileMediumAgentic AI10 tests
- #23Parse the planner's sub-question listEasyAgentic AI10 tests
- #24Parse the SEARCH / ANSWER protocolEasyAgentic AI10 tests
- #25Parse the Critic's structured verdictMediumAgentic AI10 tests
- #26Plan → execute → synthesizeMediumAgentic AI10 tests · Deloitte · Salesforce
- #27The RAG run: search → ground → answerMediumLLMsML System DesignAgentic AI10 tests · Accenture · Amazon · Deloitte · IDFC First Bank · Microsoft · Zomato
- #28The ReAct loop with a max_steps guardMediumLLMsAgentic AI10 tests · Deloitte · Salesforce
- #29The whole system, expressedMediumAgentic AI10 tests
- #30The SharedMemory storeEasyAgentic AI10 tests
- #31Aggregate trace eventsEasyML System DesignAgentic AI10 tests
- #32Run totals from the traceEasyML System DesignAgentic AI10 tests
- #33Validate a chat messageEasyLLMsEvaluation MetricsAgentic AI10 tests
- #34Sequential vs parallel wall-clockEasyAgentic AI10 tests
- #35Add & Norm (post-norm residual)MediumTransformersNormalization10 tests
- #36Fuse token + positional embeddingsEasyTransformersEmbeddings10 tests
- #37Attention step 3 — weighted sum of valuesEasyTransformers10 tests
- #38Teacher forcing — next-token targetsMediumTransformersNLPNeural NetworksLLMs10 tests
- #39Concatenate the headsEasyTransformers10 tests
- #40Cross-attention — decoder Q, encoder K/VMediumTransformers10 tests · Adobe
- #41Cross-attention score shape (target × source)EasyTransformers10 tests
- #42One decoder layer (post-norm, 3 sublayers)MediumTransformers10 tests
- #43Head dimension d_k = d_model / hEasyTransformers10 tests
- #44The input layer — token lookup + positionalMediumTransformersEmbeddings10 tests
- #45Per-layer complexity — attention vs recurrenceMediumTransformersRNN10 tests
- #46Map a model to its transformer familyEasyTransformersNLP10 tests · Accenture · Adobe · ServiceNow
- #47Why total compute is invariant to hMediumTransformers10 tests
- #48Why position matters — permutation-invariant poolingEasyTransformers10 tests
- #49The position-wise feed-forward networkEasyTransformers10 tests
- #50Project X into Q, K, VEasyTransformers10 tests · Adobe
Showing 1–50 of 440