KatInterview

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 answer
    Design 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 answer
    Design 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 answer
    Design 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 answer
    Diagnose 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 answer
    Diagnose 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 answer
    End-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 answer
    Hardware 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 answer
    Instrument, 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 answer
    Interpret 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 answer
    Navigating 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 answer
    Own 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 answer
    Resolve 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 answer
    Resolve 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 answer
    Train 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 answer
    Detect 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 answer
    Design 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 answer
    Detect 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 answer
    Choose 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 answer
    Build 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 answer
    Navigating 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 answer
    Align 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 answer
    Lead 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 answer
    Handle 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 answer
    Align 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 answer
    Turn 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 answer
    Design 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 answer
    Design 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 answer
    Calculate 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 answer
    Convince 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 answer
    Interpret 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