practice a little every day — you've got this ♡
Interview Practice Problems
Practice 5967 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.
- 5967
- Problems
- 2210
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 3721–3750 of 3757 results
- Machine LearningHardModel answerDesign an Online Experiment for a Two-Stage ML Ranker
Design an A/B test to evaluate a new learned second-stage ranker, covering metric choice, experiment validity, novelty effects, and post-experiment rollout decisions.
Machine Learningmachine learningonline experimentsrankingA/B testing - Statistics & ExperimentsHardModel answerDesign and Evaluate a Group Calling Feature End-to-End
Given a single daily aggregate call table, infer latent demand, design a clustered A/B test, and build a long-term success framework for a Group Call feature.
Statistics & Experimentsexperimentationproduct-analyticscausal-inferencemetric-design - System DesignHardModel answerDesign Full-Text and Proximity Search for a Social Feed
Design a system that indexes hundreds of millions of short posts for keyword search and geolocation queries, meeting tight freshness and latency targets at scale.
System Designsearchgeolocationdistributed-systems - Statistics & ExperimentsMediumModel answerDiagnose a Disease Given a Positive Screening Test
Apply Bayes' theorem to find the probability a patient truly has a disease after testing positive, interpreting the surprising result.
Statistics & Experimentsconditional probabilityBayes theoremstatisticsprobability - Statistics & ExperimentsMediumModel answerDiagnose the Bias–Variance Source in a Noisy Experiment
Given a model's train/validation/test error profile and experimental setup, identify whether bias or variance dominates and prescribe the right fix.
Statistics & Experimentsbias-variance tradeoffmodel evaluationoverfittingstatistics - Machine LearningHardModel answerEnd-to-End Molecular Pair Regression System Design
Design a complete ML pipeline to predict a real-valued interaction score for pairs of molecules, covering data quality, featurization, splitting, modeling, evaluation, and deployment.
Machine Learningml-system-designcheminformaticsregressiongraph-neural-networks - System DesignMediumModel answerHardware Metrics Pipeline: Ingest, Store, and Query at Scale
Design an end-to-end telemetry platform that collects per-device metrics at two resolutions, serves trend dashboards, supports raw drilldowns, and safely exposes a natural-language query interface.
System Designtime-seriesobservabilitydata-pipeline - Statistics & ExperimentsHardModel answerInstrument, Define, and Validate Metrics for a New Feature
Design a measurement framework for a new product feature: pick a north-star and guardrails, plan instrumentation, derive KPIs from raw logs, and validate everything before stakeholders act on it.
Statistics & Experimentsmetricsexperimentationinstrumentationdata-quality - Statistics & ExperimentsEasyModel answerInterpret a 95% CI from an A/B Test Result
Given a reported confidence interval from a conversion-rate experiment, reason through what it does and does not tell you.
Statistics & Experimentsstatisticsconfidence intervalsA/B testinghypothesis testing - BehavioralMediumModel answerNavigating a Code Review Conflict with a Teammate
Demonstrate how you handled a technical disagreement during code review without damaging the working relationship or stalling delivery.
Behavioralbehavioralconflict resolutioncollaborationcode review - BehavioralMediumModel answerOwn a Project That Shipped Late and Missed Its Goal
Demonstrate self-awareness and growth by walking through a project you led that failed to deliver on time or on target.
Behavioralbehavioralfailureownershipproject management - BehavioralEasyModel answerResolve a Disagreement Over Code Review Feedback
Demonstrate how you navigated a tense code review disagreement with a teammate and reached a productive outcome.
Behavioralbehavioralconflict resolutionteamworkcommunication - BehavioralMediumModel answerResolve a Technical Disagreement With a Peer Engineer
Demonstrate how you navigated a genuine technical conflict with a teammate, maintained the relationship, and reached a sound decision.
Behavioralbehavioralconflict resolutioncollaborationtechnical decision-making - Machine LearningHardModel answerTrain a Fraud Detector Under Severe Class Imbalance
Design and defend an end-to-end ML system for fraud detection where genuine fraud accounts for less than 0.1% of transactions.
Machine Learningmachine learningclass imbalancefraud detectionevaluation - Machine LearningMediumModel answerDetect and Fix Feature Leakage in a Loan Default Model
Identify subtle forms of target leakage in a credit risk pipeline and explain how to fix each without destroying predictive signal.
Machine Learningmachine learningfeature leakagecredit riskdata preprocessing - Machine LearningHardModel answerDesign an Online Experiment for a Ranking Model Upgrade
Plan and analyze an A/B test for a new learning-to-rank model replacing a heuristic ranker in a content feed, handling interference, novelty effects, and metric trade-offs.
Machine Learningmachine learningexperimentationrankingA/B testing - Machine LearningHardModel answerDetect and Correct Novelty Effects in an Online Ranking Experiment
Design a rigorous experiment to identify, quantify, and correct for novelty and primacy effects when A/B testing a new ML-driven content ranking model.
Machine Learningmachine learningonline experimentsA/B testingnovelty effect - Machine LearningMediumModel answerChoose the Right Metric for an Imbalanced Fraud Detector
Decide which evaluation metrics best capture a fraud detection model's real-world performance when only 0.3% of transactions are fraudulent.
Machine Learningmachine learningevaluation metricsimbalanced classificationfraud detection - Machine LearningMediumModel answerBuild a 2D Convolution Forward Pass Without ML Libraries
Implement conv2d from scratch in NumPy, correctly handling padding, stride, multi-channel inputs, and optional bias.
Machine Learningconvolutionnumpydeep-learning-fundamentals - BehavioralMediumModel answerNavigating a Project That Missed Its Launch Deadline
Demonstrate self-awareness and growth by walking through a project that failed or fell short, using a structured STAR response.
Behavioralbehavioralfailureproject managementgrowth mindset - BehavioralHardModel answerAlign Skeptical Peers on a Critical Technical Standard Change
Describe a time you drove adoption of an important technical or process change when you had no authority over the engineers or teams who needed to change their behavior.
Behavioralbehavioralinfluencing without authorityleadershipcross-functional - BehavioralHardModel answerLead a Project That Shipped but Ultimately Failed in Production
Demonstrate self-awareness and leadership maturity by narrating a project you owned that succeeded technically but failed where it mattered most.
Behavioralbehavioralfailureleadershipownership - Machine LearningMediumModel answerHandle Cold-Start for New Items in a Recommendation System
Design and evaluate a strategy to recommend newly added items before any user interaction data exists.
Machine Learningmachine learningrecommendation systemscold startfeature engineering - BehavioralHardModel answerAlign a Reluctant Peer Team to Adopt Your Technical Standard
Demonstrate how you drove adoption of a cross-team technical standard when you had no authority over the engineers who needed to change their behavior.
Behavioralbehavioralinfluencing without authoritycross-functional collaborationtechnical leadership - BehavioralHardModel answerTurn Harsh Mid-Project Feedback Into Lasting Change
Demonstrate how you processed and acted on critical, unexpected feedback delivered during a high-stakes project, not at a safe review boundary.
Behavioralbehavioralfeedbackself-awarenessgrowth mindset - System DesignEasyModel answerDesign a URL Shortener with Fast Redirect Lookups
Design a system that converts long URLs into short codes and resolves them to the original URL with low latency at modest scale.
System Designsystem designstorageindexinghashing - System DesignEasyModel answerDesign a Push Notification Delivery Service
Design a scalable backend service that reliably delivers push notifications to millions of mobile and web users with low latency.
System Designsystem designnotificationsscalability - Statistics & ExperimentsEasyModel answerCalculate minimum sample size for a checkout button A/B test
Given a baseline conversion rate and a target minimum detectable effect, compute the required per-variant sample size from first principles.
Statistics & Experimentsstatisticsa/b testingsample sizehypothesis testing - BehavioralMediumModel answerConvince a Skeptical Peer Team to Adopt a New Standard
Describe a time you persuaded colleagues you had no authority over to change how they worked, despite their resistance.
Behavioralbehavioralinfluencing without authoritycross-functionalstakeholder management - Statistics & ExperimentsEasyModel answerInterpret a 95% Confidence Interval for Average Order Value
Given a sample of customer orders and a reported confidence interval, explain what it means and what common misinterpretations to avoid.
Statistics & Experimentsstatisticsconfidence intervalsinferenceexperimentation