practice a little every day — you've got this ♡
Interview Practice Problems
Practice 6074 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.
- 6074
- Problems
- 2252
- Auto-graded
- 15
- Topics
- 274
- Added today
Showing 1981–2010 of 3822 results
- Machine LearningHardModel answerBuilding a Low-Latency Email Abuse Filter with ML
Design a production ML pipeline that scores inbound mail within a tight latency budget, keeps hard-block false positives very low, and stays robust as attackers adapt.
Machine Learningml-system-designspam-detectioncalibrationdrift-detection - System DesignHardModel answerBuild a Large-Scale Question Library for Live Technical Interviews
Design a platform where teams write, tag, version, search and rank interview questions, and where interviewers pick from a shortlist during a live session without leaking or repeating questions.
System Designsystem-designsearchrankingversioning - Machine LearningMediumModel answerTensor-Parallel Linear Layer: Forward, Backward, and Collectives
Work out the forward and backward passes of a linear layer whose weight columns are split across devices, pinpoint the required collective, and design tests for sharding bugs.
Machine Learningtensor-parallelismbackpropagationdistributed-trainingcollectives - System DesignMediumModel answerBuild a Cache-Aware DAG Format for GPU Test Pipelines
Design a DAG-based intermediate representation for GPU test pipelines and explain how to compile it into a cached, incremental, deterministic plan that survives schema changes.
System Designdagintermediate-representationcachingincremental-builds - Statistics & ExperimentsHardModel answerBuild-or-Skip Case: Evidence-Backed Go/No-Go for a New Feature
Make a time-boxed go/no-go case for a brand-new product feature, covering market sizing, internal readiness and risk, and an experiment plan with pre-set proceed, pivot, and kill thresholds.
Statistics & Experimentsproduct-analyticsexperiment-designmarket-sizinggo-no-go - Machine LearningMediumModel answerTurning Expected Profit into Keyword Bids Under a Daily Budget
Design a system that converts predicted business value of a search-ad click into a bid, paces spend against a budget, handles delayed conversions, and proves incremental profit.
Machine Learningbiddingadsbudget-pacingdelayed-feedback - BehavioralMediumModel answerPitching Yourself and Your Next Move in a Startup Manager Screen
Practice a concise senior-level pitch covering your background, reason for leaving, ideal next role, and whether you can meet an onsite requirement.
Behavioralbehavioralself-introductioncareer-goalshiring-manager-screen - Machine LearningMediumModel answerHand Estimates for a Sharded GEMM: Compute, Memory and Links
Count FLOPs, memory bytes and network bytes for a matrix product, apply the roofline model on one device, then compare M, N and K sharding and put numbers on both.
Machine Learningrooflinearithmetic-intensityshardingcollective-communication - BehavioralMediumModel answerShipping a High-Stakes Project When Time Is Short
Tell a structured story about a critical project you delivered against a compressed timeline, covering prioritization, scope and quality tradeoffs, coordination, and measurable results.
Behavioralbehavioralleadershipprioritizationtradeoffs - Stacks & QueuesMediumModel answerEvaluate Prize-Pool Formulas with Strictly Positive Whole Steps
Parse and evaluate an infix arithmetic string, rejecting it with False if any intermediate result is zero, negative, or a non-integer quotient.
Stacks & Queuesparsingrecursive-descentexpression-evaluationvalidation - Greedy & IntervalsMediumModel answerBusiest Stretches of a Garage from Gate Scanner Records
Use unsorted gate scan records to find peak car occupancy and the maximal time windows at that peak, including when some exit scans are missing and stays are capped.
Greedy & Intervalssweep-lineintervalsevent-processingsorting - BehavioralMediumModel answerHandling a Mid-Project Pivot in Your Analytical Work
Describe a time a stakeholder redirected your in-flight research or modeling work, and show how you assessed the impact, communicated trade-offs, and protected result validity.
Behavioralbehavioralstakeholder-managementadaptabilityresearch - Statistics & ExperimentsHardModel answerMeasuring User Exposure to Policy-Violating Posts
Design a metric framework for how often users see harmful content: definitions, timing rules, north-star choice, uncertainty-aware alerts, and an A/B test under delayed labels.
Statistics & Experimentsmetric-designcontent-safetyexperimentationconfidence-intervals - Statistics & ExperimentsMediumModel answerGrow Profit in a Deal-Finding Browser Extension and Rewards App
Product case on a shopping-savings app: map revenue streams, pick one improvement, design a test, judge two promo email A/B results, and critique email UX.
Statistics & Experimentsproduct-senseab-testingmonetizationemail-ux - Statistics & ExperimentsMediumModel answerExpected Rolls Until a Die Shows a Strict Rise
Find the expected number of fair-die rolls until a roll is strictly higher than the one before it, using a Markov-state recursion and an independent counting check.
Statistics & Experimentsprobabilityexpected-valuemarkov-chainstopping-time - SQL & DataMediumModel answerTrust & Safety Exposure Queries on Daily Post Views
Write three SQL queries over daily post views and per-policy risk scores: a windowed view threshold, nudity exposure share, and a monthly flagged-type mix.
SQL & Datasqlwindow-functionsjoinsaggregation - Statistics & ExperimentsMediumModel answerMeasuring a Quick-Reaction Feature in a Chat App
Plan the metrics, a network-aware experiment, and the launch decision for a message-reaction feature that lifts reactions but slightly lowers total message volume.
Statistics & Experimentsab-testingnetwork-effectsmetricscluster-randomization - System DesignMediumModel answerUniform Error Responses in a Spring Banking API
Design a centralized Spring exception handling layer that returns one JSON error contract, maps domain errors to HTTP codes, hides internals, and ties each response to server logs via a trace ID.
System Designjavaspringexception-handlingrest-api - Machine LearningMediumModel answerTurning an ML Experiment Into Lessons for Agent Design
Describe a recent ML experiment you owned, separate measurement from interpretation, and show how its findings would shape a concrete component of an autonomous agent.
Machine Learningresearch-communicationai-agentsexperiment-designevaluation - BehavioralMediumModel answerResisting a Premature Call-Volume Mandate With Evidence
A sales leader wants to double call volume based on a raw correlation with win rate. Explain how you would push back, design a safe pilot, set expectations, align stakeholders, and resist early declarations of success.
Behavioralcausal-inferencestakeholder-managementexperiment-designdata-science-leadership - System DesignMediumModel answerDesigning a Reliable Checkout and Charge Pipeline
Sketch a high-level payment backend that charges customers via a third-party provider, guaranteeing no double charges and no orders marked paid without collected funds.
System Designpaymentsidempotencystate-machineledger - System DesignMediumModel answerBackend design for live multi-user text editing with conflict handling
Design a server that orders and merges simultaneous keystrokes from many editors on one document, converges all replicas, and survives failures.
System Designcollaborative-editingoperational-transformationreal-timeconsistency - System DesignMediumModel answerWorkspace Chat Platform with Per-Org Isolation
Design a chat backend for many isolated organizations, covering ordered channel history, offline catch-up, permission-aware search, presence, and read tracking.
System Designmulti-tenancymessagingreal-timepermissions - Machine LearningMediumModel answerBias-Variance, Calibration, and Drift: A Production ML Walkthrough
Explain the bias-variance decomposition, what a calibrated probability means and how to repair one, and how concept drift differs from covariate shift in production.
Machine Learningbias-variancecalibrationmodel-driftcovariate-shift - BehavioralMediumModel answerBehavioral Screen: Recovering From a Failure and Choosing a Target Company
Model answer for a PM-style HR screen: a STAR+L account of a real failure or conflict, plus a specific, research-backed case for why you want to join a given company.
Behavioralbehavioralstar-lownershipconflict-resolution - Statistics & ExperimentsMediumModel answerShared vs. split queues, height mixtures, and shrinkage bias
Compare a single bank queue with separate lines, reason about height and social-degree distributions, and check whether lasso and ridge estimators are unbiased.
Statistics & Experimentsqueueing theorydistributionsmixture modelsskewness - BehavioralMediumModel answerNine Rapid-Fire Behavioral Prompts: Concise STAR Stories With Metrics
Practice answering nine back-to-back behavioral prompts in 60–90 seconds each, using specific personal actions and quantified outcomes.
BehavioralSTARbehavioral interviewconflict resolutioninfluence - Statistics & ExperimentsMediumModel answerPoisson MLE, Dispersion Testing, and Normal Approximation for Counts
Given sample count data, derive the Poisson MLE and Wald CI, test for overdispersion, approximate a Poisson tail probability with continuity correction, and identify when the Normal approximation breaks down.
Statistics & Experimentspoissonmledispersionnormal-approximation - System DesignEasyModel answerFor Loop vs While Loop: Picking the Right Tool
Explain when to reach for a for loop versus a while loop, covering intent, safety, and how each choice affects the risk of infinite loops.
System Designcontrol-flowloopsreadabilitypython - System DesignEasyModel answerInvestigating High CPU Usage on a Linux System
Walk through the steps to identify and verify the cause of elevated CPU consumption on a Linux machine, from system-wide metrics to specific code paths.
System Designlinuxperformancedebuggingmonitoring