KatInterview

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

Interview Practice Problems

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

6029
Problems
2232
Auto-graded
15
Topics
273
Added today

Showing 1051–1080 of 3797 results

  • System DesignEasyModel answer
    Mastering Core Java and Spring Framework Fundamentals

    A comprehensive technical overview of essential Java language mechanics, concurrency models, SOLID architecture, and Spring Framework core concepts for backend engineers.

    System Designjavaspringconcurrencysolid-principles
  • Data Structure DesignEasyModel answer
    Immutable Folder Tree State with Safe Move and Delete

    Design a normalized, immutable state model for a nested folder tree and implement add, move (with cycle rejection) and recursive delete efficiently for deep trees.

    Data Structure Designtreestate-managementimmutabilitycycle-detection
  • System DesignMediumModel answer
    Building a Durable Messaging Backend: Endpoints, Schema, Sync

    Design the endpoints, data model, and core flows of a basic messaging service with durable sends, safe retries, ordered history, live push, and catch-up after a dropped connection.

    System Designsystem-designapi-designdatabase-schemaidempotency
  • Data Structure DesignMediumModel answer
    Task Scheduling Order and Undoable Command Pipeline

    Resolve prerequisite-constrained task sequences with cycle detection, then construct an extensible Command pattern system with state rollback functionality.

    Data Structure Designtrees-graphsdesign-dsstacks-queues
  • BehavioralMediumModel answer
    Disagreeing on Design and Bridging Different Work Styles

    Tell a story about settling a engineering design dispute with evidence, then a second one about adjusting how you and a differently-minded colleague collaborate.

    Behavioralbehavioralconflict-resolutioncollaborationcommunication
  • Data Structure DesignHardModel answer
    Blocking Bounded Buffer for Many Producers and Consumers

    Design and code a fixed-capacity, multi-producer multi-consumer buffer with timed blocking put/get, fair waiter ordering, clean shutdown and backpressure, and explain how you would test it.

    Data Structure Designconcurrencysynchronizationcondition-variablesbackpressure
  • System DesignMediumModel answer
    Build an Async Text-to-Video Service on a Shared GPU Cluster

    Design an asynchronous text/image-to-video platform: job lifecycle, moderation, GPU scheduling, checkpoint-based recovery, and autoscaling for a mixed H100/A100 fleet.

    System Designgpu-schedulingdistributed-systemsjob-queuefault-tolerance
  • Data Structure DesignHardModel answer
    Distributed Block Matrix Multiplication via Cannon's Algorithm

    Coordinate grid-based worker nodes to perform memory-efficient distributed matrix multiplication without deadlocks.

    Data Structure Designdistributed systemsmatrix multiplicationconcurrencyalgorithms
  • System DesignHardModel answer
    Design a Real-Time Messaging Platform with High-Velocity Group Analytics

    Architect a low-latency chat platform supporting 1:1 and large group channels, with real-time state synchronization and live streaming identification of high-activity groups.

    System Designsystem-designdistributed-systemswebsocketsstream-processing
  • BehavioralMediumModel answer
    Behavioral Round: Motivation, Initiative, and Disagreement Stories

    Prepare structured stories on why you want a role, when you took initiative unprompted, how you handled a workplace disagreement, and what drives you.

    Behavioralbehavioralstar-methodconflict-resolutionownership
  • Data Structure DesignMediumModel answer
    Layered Ledger Service: Cash, Transfers, Fees and Held Funds

    Design and code a bank ledger that grows in stages: cash operations, per-account statements with failures, internal and external transfers with fees, and delayed transfers that lock funds.

    Data Structure Designledgermoney-handlingobject-oriented-designtransactions
  • System DesignMediumModel answer
    Scalable Notification Platform for Large-Scale Event Reminders

    Design a platform that tracks a million active events and reliably emails every registrant about reminders, changes, cancellations and follow-ups, covering scale, delivery guarantees and compliance.

    System Designsystem-designemail-pipelinemessage-queuescheduler
  • Dynamic ProgrammingMediumModel answer
    Cheapest Fence Painting With No Matching Neighbors

    Color a row of posts from a cost table so no two neighbors match, minimizing total cost, using memoized recursion and a space-optimized bottom-up DP, and recover one optimal coloring.

    Dynamic Programmingdynamic-programmingmemoizationspace-optimizationreconstruction
  • System DesignHardModel answer
    Design an Enterprise Event Analytics and Tracking Platform

    Design an end-to-end event collection, processing, and storage platform supporting interactive dashboard queries and deep historical analytics.

    System Designsystem-designdistributed-systemsevent-drivendata-engineering
  • Machine LearningMediumModel answer
    Why Boosted Trees Generalize Better Than One Deep Tree

    Explain which regularization mechanisms in gradient-boosted trees limit overfitting compared with a fully grown tree, and when boosting can still overfit.

    Machine Learningxgboostgradient-boostingoverfittingregularization
  • SQL & DataMediumModel answer
    Dropping Ever-Free Companies Before Monthly YoY Signup Counts

    Rework a monthly new-customer and year-over-year report so companies listed in a free-plan table vanish from every month, using a duplicate-safe anti-join applied before aggregation.

    SQL & Datasqlanti-joinnot-existscte
  • System DesignEasyModel answer
    Design an Enterprise Metrics Aggregation and Alerting Platform

    Design a scalable, highly available observability system that ingests 1M data points per second, supports low-latency querying across retention tiers, and executes real-time alert conditions.

    System Designsystem-designtime-seriesstream-processingobservability
  • Machine LearningMediumModel answer
    Diagnosing a Post-Release Quality Collapse in a Production Model

    Walk through how you would investigate and fix a classifier whose live quality fell sharply right after a release, covering metrics, tooling, root-cause isolation and prevention.

    Machine Learningmlopsmodel-monitoringdata-driftdebugging
  • System DesignMediumModel answer
    Design a Globally Scalable Video-on-Demand Platform

    Architect an architecture for video ingestion, parallel adaptive-bitrate transcoding, and low-latency global delivery serving millions of concurrent streams.

    System Designsystem-designcdnvideo-streamingdistributed-systems
  • Trees & GraphsMediumModel answer
    Minimum Additions to Equalize Every Subtree Sum

    Calculate the minimum non-negative value additions needed so that the node sum of every subtree in a binary tree equals K, returning -1 if impossible.

    Trees & Graphstrees-graphspost-ordergreedydepth-first-search
  • Statistics & ExperimentsMediumModel answer
    Resolving Subgroup Reversals and Aggregation Bias in Experiments

    Detect composition shift and Simpson's paradox in A/B tests, build stratified estimators, and establish decision rules for heterogeneous subgroup effects.

    Statistics & ExperimentsA/B TestingStratificationSimpson's ParadoxHeterogeneity
  • System DesignMediumModel answer
    Architecting a Card Network Transaction Processing Engine

    Design a high-throughput, fault-tolerant card payment processing network that handles dual-phase payment processing, ledger auditing, and stand-in processing.

    System Designsystem-designdistributed-systemspaymentsevent-driven
  • BehavioralMediumModel answer
    Driving Product Strategy for Stagnant Mobile App Engagement

    Outline an end-to-end strategy to re-ignite user engagement for a consumer app experiencing stagnant active user growth, including metrics, solutions, and roadmap.

    Behavioralproduct strategymetricsprioritizationroadmap
  • BehavioralMediumModel answer
    Five-Part Self-Introduction and Motivation Answer for Screens

    Build a compact spoken answer covering your intro, motivation for the role, a proud project, ideas to improve the business, and your availability.

    Behavioralbehavioralself-introductionSTARmotivation
  • Statistics & ExperimentsMediumModel answer
    Statistical Strategy for Analyzing and Reducing Flight Delays

    Formulate an end-to-end statistical strategy to diagnose flight delay causes, design models for dependent and skewed data, and measure causal operational interventions.

    Statistics & Experimentsexperimental-designregressionhypothesis-testingcausal-inference
  • BehavioralHardModel answer
    Walking Through an LLM Feature You Shipped Responsibly

    Describe a project where you built or shipped an ML or LLM component, covering evaluation, safety nets, failure handling, and where the model's authority ends.

    Behavioralbehavioralllmevaluationguardrails
  • Statistics & ExperimentsHardModel answer
    Diagnosing and Testing a Drop in Delivery Order Completion Rate

    Investigate a 5% week-over-week drop in successful order rate across a two-sided platform using structured diagnostic strategies and causal experimentation.

    Statistics & Experimentsmetric investigationroot cause analysisexperimentationmarketplace logistics
  • Statistics & ExperimentsMediumModel answer
    Watch-Time Sample: Skew, Percentiles, and Winsorizing

    Analyze a 20-point video watch-time sample: judge its shape, compute median, mode and an interpolated p95, compare mean and median, and reason about winsorizing in an A/B test.

    Statistics & Experimentsdescriptive-statisticsquantilesskewnesswinsorization
  • System DesignMediumModel answer
    Design a Scalable Multi-Tenant Cloud Development Environment

    Architect a cloud IDE platform with hardware-level sandbox isolation, sub-100ms real-time document collaboration, and multi-tenant resource limits.

    System Designsystem-designmulti-tenancysandboxingmicrovm
  • BehavioralMediumModel answer
    Resolving a Technical Standoff With a Colleague

    Walk through a real technical disagreement with a peer over design, approach, or priorities, covering how you settled it, what was decided, and what you changed in your own behavior afterward.

    Behavioralconflict-resolutioncollaborationbehavioralstar-method