KatInterview

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

Interview Practice Problems

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

6019
Problems
2229
Auto-graded
15
Topics
276
Added today

Showing 2911–2940 of 3790 results

  • Machine LearningHardModel answer
    End-to-End Design of a Food Delivery Recommendation Engine

    Design a personalized restaurant ranking system for a food-ordering app, covering retrieval, ranking, cold start, implicit feedback, and offline/online evaluation.

    Machine Learningrecommendation systemstwo-tower modelcold startimplicit feedback
  • Machine LearningEasyModel answer
    Evaluating Text Classification Systems

    Walk through how you evaluate NLP classification models, covering core metrics, business tradeoffs, class imbalance, and connecting evaluation choices to real decisions.

    Machine Learningclassificationmetricsnlpevaluation
  • System DesignMediumModel answer
    Building a Metrics Platform for a Conversational AI Service

    Design a scalable analytics backend that ingests events from production systems, computes real-time and historical metrics, and serves aggregated data to dashboards.

    System Designdata-pipelinemetricsreal-timeanalytics
  • BehavioralHardModel answer
    Sole Data Lead: Sequence Three Competing Initiatives Under Capacity Constraints

    Plan, scope, and communicate a Q4 data roadmap when total demand exceeds capacity by 50% and a mid-sprint incident forces a live re-plan.

    Behavioralprioritizationstakeholder-managementproject-planningscope-definition
  • Data Structure DesignMediumModel answer
    Build a Thread-Safe Future: Chaining and Parallel Fan-In

    Implement a generic async future primitive supporting blocking get, callback chaining, and a barrier that resolves when all parallel futures complete.

    Data Structure Designconcurrencyfuturesthreadingcallbacks
  • Machine LearningMediumModel answer
    Build a Binary Classifier from LLM Token Log-Probabilities

    Design a binary text classifier that uses only per-token log-probabilities from an LLM helper, covering scoring math, batching, calibration, and evaluation.

    Machine Learningllmclassificationnumerical-stabilitycalibration
  • Statistics & ExperimentsMediumModel answer
    Describe an A/B Test You Ran From Design Through Decision

    Explain how you designed, executed, and made decisions from a product experiment, covering hypothesis, metrics, randomization, execution issues, and trade-offs.

    Statistics & Experimentsexperimentsa-b-testingmetricsstatistical-rigor
  • BehavioralHardModel answer
    Owning and Debugging a Reliability-Critical Infrastructure Component

    Walk through a real incident where you owned a low-level infra component, covering goals, debugging process, trade-offs made, and how you drove the fix to closure.

    Behavioralownershipdebuggingdistributed-systemsincident-response
  • Statistics & ExperimentsMediumModel answer
    Sizing a Retail Parking Facility

    Determine optimal parking lot capacity for a big-box store by forecasting demand, modeling uncertainty, and balancing construction costs against lost revenue.

    Statistics & Experimentsforecastingdecision-analysistrade-offs
  • Trees & GraphsMediumModel answer
    Search and Shortest-Path Algorithms

    Implement binary search on a monotone predicate, BFS for state-space and grid shortest paths, and random board generation with adjacency counting.

    Trees & Graphsbinary-searchbfsshortest-pathgraph-traversal
  • Machine LearningMediumModel answer
    Build a Conversion Prediction System for Programmatic Ad Auctions

    Design an ML pipeline to forecast user conversion probability in real-time programmatic advertising, covering labeling, features, modeling, and production deployment.

    Machine Learningmachine-learningclassificationimbalanced-datafeature-engineering
  • BehavioralEasyModel answer
    C Declaration Syntax: Arrays of Pointers vs Pointers to Arrays

    Distinguish between an array of pointers and a pointer to an array in C, explaining their memory layouts and pointer arithmetic behavior.

    Behavioralcpointersmemory-layoutfundamentals
  • System DesignMediumModel answer
    Hash Table Internals: Collisions, Resizing, and Concurrency

    Explain how an in-memory hash table works under the hood, covering collision strategies, resizing cost, deletion semantics, worst-case behavior, and thread safety.

    System Designhash-tablesdata-structuresconcurrencycomplexity
  • BehavioralMediumModel answer
    Demonstrating Impact and Collaboration Through Past Work

    Showcase ownership, problem-solving, conflict resolution, growth mindset, and motivation through structured behavioral responses with quantified outcomes.

    Behavioralbehavioralleadershipcommunication
  • System DesignHardModel answer
    Design a Live Market Data Feed for a Financial Dashboard

    Design a system that streams real-time asset prices to millions of concurrent users with sub-100ms end-to-end latency.

    System Designstreamingwebsocketsfanoutpub-sub
  • Machine LearningHardModel answer
    Design a Conversion-Optimized Product Ranking Engine

    Design an end-to-end ML ranking system for a financial product marketplace that maximizes revenue while managing delayed labels, sparse conversions, and cold-start challenges.

    Machine Learningrankingmulti-task-learningdelayed-feedbackrecommendation-systems
  • Data Structure DesignMediumModel answer
    Multi-Level Parking Facility: Class Structure and Operations

    Model a parking facility with levels and sized spots, supporting vehicle entry/exit, spot allocation by compatibility, and availability queries.

    Data Structure Designobject-oriented-designSOLID-principlesdesign-patternsclass-modeling
  • System DesignHardModel answer
    Design a High-Scale Event Streaming and Analytics Pipeline

    Design an end-to-end pipeline that ingests millions of user interaction events per day, handles duplicates and late arrivals, and serves both real-time dashboards and raw session queries.

    System Designstream-processingdata-pipelineanalyticskafka
  • SQL & DataMediumModel answer
    SQL Analysis and Statistical Testing of App Usage Patterns

    Write SQL queries to identify top apps and compute category distributions, then design a statistical test to compare engagement frequency across user segments.

    SQL & Datasqlaggregationwindow-functionsstatistical-testing
  • BehavioralMediumModel answer
    Staff Engineer Introduction: Background, Motivations, and Strengths

    Prepare a brief slide deck about your career and highlight project, then discuss what energizes you professionally and what you excel at distinctively.

    Behavioralstaff-levelself-presentationleadershipstorytelling
  • Dynamic ProgrammingMediumModel answer
    Flappy Bird Auto-Pilot with Lookahead Planning

    Design a physics-based agent that decides when to jump by projecting future trajectories and checking collision-free paths through upcoming obstacles.

    Dynamic Programminggame-physicssimulationtrajectory-planning
  • Statistics & ExperimentsHardModel answer
    Estimating Ad Impact Without Randomization

    Design a plan to measure ad effectiveness using observational data when random assignment is impossible, accounting for selection bias and confounding.

    Statistics & Experimentscausal-inferencepropensity-scoresobservational-studiesexperimental-design
  • BehavioralMediumModel answer
    Project Deep-Dive and Leadership Behavioral Round

    Walk through a recent project you owned end-to-end, then field behavioral questions on challenge, conflict, failure, and mentorship.

    Behavioralleadershipproject presentationstakeholder managementmentorship
  • Machine LearningHardModel answer
    Real-Time Location-Based Recommendation System

    Design a machine learning system that delivers personalized, geographically relevant place recommendations with sub-200ms latency at scale.

    Machine Learningrecommender-systemsgeospatialreal-time-mlranking
  • Statistics & ExperimentsMediumModel answer
    Diagnosing a Spike in Warm Food Delivery Complaints

    Investigate a rise in temperature complaints across the delivery funnel, separate mix shifts from operational decay, and design a marketplace-safe experiment to test a fix.

    Statistics & Experimentsproduct analyticsexperimentationdecompositionmarketplace
  • Statistics & ExperimentsMediumModel answer
    Support Team Staffing: Utilization, Cost Trade-offs, and Break-even

    Model the capacity, weekly costs, and break-even point for a support team choosing between overtime and contractors to absorb rising inquiry volume.

    Statistics & Experimentsoperationsbreak-evenworkforce-planning
  • System DesignMediumModel answer
    IoT Sensor Data Pipeline Architecture

    Design a distributed system to ingest and query temperature readings from millions of globally distributed IoT devices with high write throughput.

    System Designtime-seriesdata-ingestionIoTdistributed-systems
  • Machine LearningHardModel answer
    Building a Recommendation Engine for New Users and Fresh Content

    Design a video recommendation system that handles users with no history and videos with no engagement data while meeting strict latency requirements.

    Machine Learningrecommendation systemscold startmachine learningsystem design
  • System DesignMediumModel answer
    Real-Time BNPL Approval Service: Latency, Concurrency, and PII Vault

    Design a buy-now-pay-later checkout backend that decides approval in real time, protects a shared credit line under concurrency, and isolates sensitive shopper data.

    System Designsystem-designlatency-budgetconcurrencyencryption
  • System DesignHardModel answer
    Design a Distributed Key-Value Store with Range Scan Support

    Design a horizontally scalable, fault-tolerant key-value store that supports high write throughput, low-latency reads, and efficient range scans across multiple data centers.

    System Designdistributed-systemsstorage-enginesreplicationpartitioning