practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6070 original coding, SQL, system design, machine learning and behavioral problems across 15 topics. Coding and SQL problems run against hidden test cases right in your browser; every problem has hints and a worked solution, free.
- 6070
- Problems
- 2251
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 1741–1770 of 3819 results
- Machine LearningMediumModel answerBuild a Pre-Release and Production Quality Gate for LLMs
Design an automated platform that checks new LLM versions and sampled production traffic for correctness, safety, and regressions, with reproducible runs and clear interfaces.
Machine Learningllm-evaluationml-system-designllm-as-judgeregression-testing - Machine LearningMediumModel answerSparse Expert Layers: Routing and Cross-Device Sharding
Describe how a sparse top-k expert feed-forward layer processes a token batch, and how placing experts on different devices changes communication, balance, and memory.
Machine Learningmixture-of-expertsexpert-parallelismdistributed-trainingrouting - BehavioralMediumModel answerHandling a Silent Owner of a Critical Task Before a Deadline
Your team is blocked because the owner of a critical-path task has gone silent. Describe how you would unblock work, stay fair to them, escalate, report risk, and prevent a repeat.
Behavioralbehavioralleadershipescalationconflict-resolution - System DesignMediumModel answerBuild a Blob Storage Platform with Resumable Large Uploads
Design a cloud blob store that accepts huge files in parts, keeps them durable across machine and site failures, and scales to petabytes with heavy concurrent traffic.
System Designobject-storagemultipart-uploadreplicationerasure-coding - BehavioralMediumModel answerTurning Hard Manager Feedback into Lasting Growth: A Behavioral Answer
Practice answering a behavioral question about tough or surprising manager feedback: your reaction, the plan you built, how you checked in, and the habits that stuck.
Behavioralbehavioralfeedbackcoachabilitystar-method - Machine LearningMediumModel answerDesigning a Ranked Product Recommender with Role and Context Rules
Design an ML pipeline that builds personalized ranked product lists, using collaborative filtering and ranking models while respecting user role, context, and business constraints.
Machine Learningrecommender-systemscollaborative-filteringlearning-to-rankembeddings - Machine LearningMediumModel answerBuild a Pre-Norm Transformer Layer with a Gated SiLU Feed-Forward
Write a Transformer layer with masked multi-head self-attention, a gated Swish feed-forward network, residual paths and layer norm, and explain its shapes, masking and complexity.
Machine Learningtransformermulti-head-attentionswiglulayer-normalization - BehavioralMediumModel answerDescribe a Time You Reduced Complexity and Showed the Gain
Behavioral prompt: recount a project where you cut the complexity of a product or system, explain how you found the cause, brought people along, and verified the improvement with data.
Behavioralbehavioralownershipsimplificationstakeholder-management - BehavioralMediumModel answerFive Senior ML Engineer Leadership Stories: Prep Guide
Prepare five structured leadership stories for a senior ML engineer behavioral panel: impact, risk, failure, conflict, and team and stakeholder execution, with an emphasis on measurable outcomes.
Behavioralbehavioralleadershipsenior-ml-engineerstakeholder-management - System DesignMediumModel answerExact-Match File Deduplication at Petabyte Scale
Design a service that finds byte-identical files across billions of stored objects and lets clients check for existing content before uploading, while keeping network transfer low.
System Designsystem-designdeduplicationhashingdistributed-storage - Machine LearningMediumModel answerTransformers, Embeddings, Pretraining and Fine-Tuning Compared
Contrast transformer architectures with embedding models, then explain why models are pretrained, how fine-tuning adapts them, and which risks to monitor.
Machine Learningtransformersembeddingsfine-tuningtransfer-learning - Statistics & ExperimentsHardModel answerValidating a New Ad Ranking Model Through an Online Test
Plan an online experiment for a new ad-ranking model, choose metrics, judge a CTR gain, investigate a surprising segment result, and decide whether a combined CTR and revenue gain justifies a global launch.
Statistics & Experimentsab-testingexperiment-designguardrail-metricsheterogeneous-effects - BehavioralMediumModel answerPushing Back on a Senior Decision: A Behavioral Playbook
Prepare a structured story about a time you challenged a senior leader's decision, covering how you made your case, how it resolved, and what you would change.
Behavioralbehavioralconflict-resolutionstakeholder-managementinfluence - Data Structure DesignMediumModel answerResilient Chargeback Inbox: Normalize, Cache, and Cancel in React
Build a React dispute list that normalizes inconsistent API data, caches queries for 60 seconds, and avoids stale responses when filters or search change quickly.
Data Structure Designreacttypescriptcachingrace-conditions - Statistics & ExperimentsMediumModel answerMeasuring a Premium Plan Launch and Flagging Risky Accounts
Define primary, diagnostic and guardrail metrics for a paid-plan launch using only three tables, then build explainable rule-based SQL that scores accounts for financial-crime risk.
Statistics & Experimentsmetricsexperimentationsqlfraud-detection - System DesignMediumModel answerBuild a Conversational Catalog Search Agent with Guardrails
Design a multi-step conversational search assistant over a read-only catalog that clarifies intent, enforces hard constraints, grounds answers in records, and falls back safely.
System Designagentic-searchretrievalllm-agentsgrounding - BehavioralMediumModel answerWalk Through a Decision You Informed With Causal Methods
Describe a real project where you estimated a causal effect without a clean experiment, covering the identification problem, method, diagnostics, the decision made, and what you would redo.
Behavioralcausal-inferencebehavioralobservational-studiesexperimentation - System DesignMediumModel answerBuild a Pluggable Connector Layer for Third-Party Services
Design a platform that lets a product authorize customer accounts at many external vendors, run actions against them, and ingest their events reliably, with new connectors cheap to add.
System Designsystem-designintegrationswebhooksidempotency - System DesignHardModel answerBuild a Composable Filesystem Query Engine in the Spirit of find
Design an extensible, object-oriented library and CLI that walks directory trees, filters entries with composable predicates, and handles symlinks, errors, and huge trees.
System Designobject-oriented-designfilesystempredicatestraversal - Statistics & ExperimentsMediumModel answerEvaluating a Dispatch Change: Welch Test on Pickup Wait Times
Compute a Welch's t-test p-value on pickup wait times for one city and month, then judge whether the result is trustworthy and propose a sounder experiment for a shared fleet.
Statistics & Experimentswelch-t-testpandasab-testinginterference - Statistics & ExperimentsMediumModel answerRoot-Causing a Sudden Drop in Marketplace Sales
Describe how you would investigate an unexpected, sustained fall in a company's sales: which metrics to break down, which data sources to pull, and how to turn findings into an action.
Statistics & Experimentsroot-cause-analysismetricsfunnel-analysiscohort-analysis - Statistics & ExperimentsMediumModel answerMeasuring the True Lift of Propensity-Targeted Upgrade Nudges
Plan an evaluation of push nudges sent to users a model flags as likely to subscribe, covering pre-launch checks, flat-result diagnosis, and alternatives to user-level A/B tests.
Statistics & Experimentsexperimentationcausal-inferenceincrementalityab-testing - Machine LearningMediumModel answerCross-Validation Folds: Choosing k and Spotting Bad Estimates
Describe how k-fold cross-validation works, how the choice of k shifts bias, variance and cost, and which situations make a cross-validated score overly optimistic or unreliable.
Machine Learningcross-validationbias-variancedata-leakagemodel-evaluation - BehavioralHardModel answerRaising a Contested Risk in an AI System: Story and Principles
Describe a time you flagged an ambiguous safety or security risk against delivery pressure, then explain how AI safety principles shape your everyday engineering choices.
Behavioralbehavioralai-safetyrisk-assessmentescalation - Statistics & ExperimentsMediumModel answerTesting a Courier Tier Program Under Marketplace Interference
Design an experiment for a courier priority-access program where treated and control couriers compete for the same orders, covering randomization, metrics, spillover analysis, and sample size.
Statistics & Experimentsexperimentationinterferencecluster-randomizationswitchback - Statistics & ExperimentsHardModel answerShopping Tab Metrics Dashboard and Browse-to-Buy Gap Diagnosis
Design a metrics dashboard for an organic shopping surface, then lay out how to diagnose and experimentally explain why heavy browsing is not turning into purchases.
Statistics & Experimentsproduct-analyticsdashboard-designfunnel-analysisexperimentation - System DesignMediumModel answerBuild a Time-Zone-Safe Scheduling Backend for Recurring Events
Design a scheduling service where users in different time zones create, edit and query one-off and repeating events, with correct behavior across daylight saving changes.
System Designsystem-designcalendartime-zonesrecurrence - BehavioralMediumModel answerShipping Under Vague Requirements: A Behavioral Walkthrough
Explain how you handled a task with missing requirements: surfacing gaps, sorting reversible from irreversible choices, aligning owners, and tying the result to business goals.
Behavioralbehavioralambiguitystakeholder-managementstar-method - Statistics & ExperimentsMediumModel answerRide-Count Churn Under Random Pricing: Two-Ride Starter
A rider takes two rides on day 1, each fairly priced with probability P. Find the chance of exactly one ride tomorrow and the chance the rider never stops riding.
Statistics & Experimentsprobabilitymarkov-chainabsorbing-statebinomial - BehavioralMediumModel answerRanking Positive Work-Style Statements in a Forced-Choice Test
Explain how to handle forced-choice work-style items where all three statements are positive, and what consistent engineering profile your Most/Least picks should convey.
Behavioralbehavioralforced-choicework-styleself-awareness