KatInterview

practice a little every day — you've got this ♡

Interview Practice Problems

Practice 6002 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.

6002
Problems
2223
Auto-graded
15
Topics
273
Added today

Showing 3181–3210 of 3779 results

  • BehavioralMediumModel answer
    Behavioral Round: Collaboration, Disagreement, and a Setback

    Prepare and deliver one STAR-structured story each on working with a team, navigating a disagreement, and owning a failure.

    BehavioralSTARteamworkconflict resolutionfailure and growth
  • System DesignHardModel answer
    Virtual Currency Ledger with Real-Time Aggregation

    Build a transactional ledger supporting currency transfers, 24-hour flow queries, and 30-day hourly balance history at scale.

    System Designledgertransactionsaggregationdistributed-systems
  • System DesignHardModel answer
    Debug Three Injected Defects in an Open-Source Template Engine

    Track down and fix three bugs in a Python template library: a silent AST visitor gap, a directory/file confusion in template lookup, and comment-only blocks that generate invalid Python.

    System Designdebuggingastpythontemplate-engine
  • BehavioralMediumModel answer
    Navigating a Hard Call with Your Product Partner

    Walk through a real example where you and a product manager jointly owned a tough decision involving scope, timing, quality, or measurement.

    Behavioralcollaborationproduct-engineering alignmentambiguitytrade-offs
  • Statistics & ExperimentsMediumModel answer
    Design and Evaluate a Premium Delivery Tier for a Food Platform

    Design a metric framework, experiment, and incremental margin model for a paid fast-delivery subscription in a two-sided food delivery marketplace.

    Statistics & Experimentsexperimentationmarketplacemetricscausal-inference
  • BehavioralMediumModel answer
    Testing a Leaf-Counting System

    Design a comprehensive test strategy for a system that counts leaves on a large tree, addressing ambiguity, test oracles, functional coverage, and scale.

    Behavioraltestingqatest-strategyambiguity-resolution
  • BehavioralMediumModel answer
    Show Me You're Still Learning: Recent Skill or Concept Applied

    Describe something specific you learned recently, explain it clearly enough to teach it, and show how you put it to use at work.

    Behaviorallearning agilitycommunicationsenior engineergrowth mindset
  • System DesignMediumModel answer
    Design a Live Multiplayer Typing Race with Spectator Support

    Design a real-time platform where players matched by language race to type the same passage, see live progress and errors, serve error-freeze penalties, and can be watched by spectators.

    System Designreal-timewebsocketsmatchmakingfan-out
  • Trees & GraphsMediumModel answer
    Resolve Variable Assignments with Dependencies

    Parse assignment statements and compute a variable's value by recursively resolving dependencies, detecting cycles and undefined references.

    Trees & Graphsrecursiongraphsparsingdfs
  • BehavioralMediumModel answer
    Demonstrating Leadership Through Six Rapid Scenarios

    Respond to six leadership scenarios covering privacy judgment, risk negotiation, partner collaboration, incident triage, mentorship, and accountability with concrete examples.

    Behavioralleadershipincident-responsementorshipprivacy
  • BehavioralMediumModel answer
    Articulate Your Motivation for a Specific Engineering Role

    Explain why you want to join a particular engineering team by connecting specific reasons to your own project experience and a concrete contribution you could make.

    Behavioralmotivationfitself-awareness
  • Machine LearningHardModel answer
    Designing a Content Moderation System for Prohibited Videos

    Design a production pipeline to detect harmful video content at scale, handling extreme imbalance, adversarial evasion, and human review workflows.

    Machine Learningml-systemsclassificationimbalanced-datamultimodal
  • System DesignMediumModel answer
    Build a Scalable Task Scheduling Service

    Architect a fault-tolerant distributed system that executes millions of recurring jobs with precise timing, at-least-once guarantees, and resilience to failures.

    System Designdistributed-systemsschedulingfault-tolerancescalability
  • BehavioralMediumModel answer
    Recorded Project Walkthrough: AI System You Built

    Record a video explaining an AI system you developed, clarifying your personal contributions and the project's impact.

    Behavioralvideo-responseproject-walkthroughownershipai-systems
  • Statistics & ExperimentsMediumModel answer
    Measuring Incremental Lift for a New Ad Format

    Design an experiment to determine whether a new top-of-feed ad unit generates net revenue or simply shifts clicks from existing mid-feed ads.

    Statistics & Experimentsexperimentationab-testingmetricsanalytics
  • Machine LearningMediumModel answer
    Build an Audio Episode Summarization Pipeline

    Design an end-to-end ML system that automatically produces text summaries for audio content as new episodes are released.

    Machine Learningml-system-designnlpaudio-processingproduction-ml
  • System DesignMediumModel answer
    Real-Time Task Assignment Engine for Developer Marketplace

    Build a system that routes skill-tagged work items to qualified engineers in under 500ms while maintaining fair load distribution across 200k workers.

    System Designdistributed-systemsmatching-algorithmsscalability
  • Data Structure DesignEasyModel answer
    Build an Event Dispatcher with Subscribe and Notify Operations

    Design and implement a subscription-based event system where functions can subscribe to event identifiers and be invoked when those events are triggered.

    Data Structure Designevent-systemcallbackserror-handlingreentrancy
  • Machine LearningHardModel answer
    Delivery Time Estimation: Full ML System Design

    Design an end-to-end ML system to predict food delivery duration, covering features, leakage, modeling, calibration, cost-sensitive decisions, fairness, and production deployment.

    Machine Learningeta-predictionquantile-regressionfeature-engineeringcalibration
  • Statistics & ExperimentsMediumModel answer
    Diagnose a Sudden Order Decline in a Single Metro

    Walk through a full investigation of a completed-order drop in one city, from data validation to funnel decomposition to designing a marketplace experiment.

    Statistics & Experimentsmarketplace analyticscausal inferenceexperiment designfunnel analysis
  • Statistics & ExperimentsEasyModel answer
    Bayes' Theorem and P-Values: Concepts and Common Pitfalls

    Explain Bayes' theorem with a worked numeric example and define p-values precisely, including what they do and do not let you conclude.

    Statistics & Experimentsprobabilityhypothesis-testingbayesian-reasoning
  • Machine LearningHardModel answer
    Design a Document Q&A Service with Retrieval-Augmented Generation

    Architect a production RAG system that lets employees query a large internal document corpus and get cited, access-controlled answers within two seconds.

    Machine LearningRAGLLMvector-searchsystem-design
  • Machine LearningHardModel answer
    Multi-Horizon Dock Availability Prediction System

    Design a real-time forecasting system to predict bike-share dock availability 24 hours ahead, handling temporal dependencies and asymmetric costs.

    Machine Learningtime-seriesforecastingfeature-engineeringmodel-selection
  • Statistics & ExperimentsHardModel answer
    Handling Skewed, Zero-Inflated Revenue Metrics in A/B Tests

    Select and justify statistical inference methods for a revenue metric plagued by zero-inflation, heavy tails, and unequal variance between treatment arms.

    Statistics & Experimentsab-testinghypothesis-testingbootstraptwo-part-model
  • Statistics & ExperimentsMediumModel answer
    Causal inference without randomization and A/B/C test analysis

    Estimate treatment effects using observational methods when experiments are infeasible, then analyze a three-arm conversion test with proper uncertainty and multiple-comparison handling.

    Statistics & Experimentscausal-inferenceexperimentationmultiple-testingconfidence-intervals
  • Data Structure DesignMediumModel answer
    Build a Thread-Safe Batched Log Writer

    Create a logger that safely accepts messages from multiple threads, buffers them in memory, and writes batches to disk based on size or time triggers.

    Data Structure Designconcurrencythreadingproducer-consumerbuffering
  • System DesignMediumModel answer
    Handling a Service Degradation After Recent Release

    Diagnose and mitigate a performance or availability drop that appears 10–15 minutes after shipping a new version to production.

    System Designincident-responseobservabilityproduction-systems
  • Machine LearningHardModel answer
    Design a Product Discovery and Ranking Platform

    Design an end-to-end search system for a large online marketplace, covering query understanding, retrieval, ranking, indexing pipelines, and serving infrastructure.

    Machine Learningsearchrankinginformation-retrievalsystem-design
  • Statistics & ExperimentsHardModel answer
    Designing a Push Notification Frequency Experiment

    Design an end-to-end experiment to measure the causal impact of sending more order-related push notifications, covering metrics, long-term effects, and interference.

    Statistics & Experimentsexperimentationcausal-inferencemetric-designpower-analysis
  • Trees & GraphsMediumModel answer
    Grid Containment: Minimum Removals to Stop Spread

    Find the fewest cells to remove from a grid to prevent infection from spreading to healthy neighbors.

    Trees & Graphsbipartite-matchinggraph-theorygridvertex-cover