KatInterview

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

Interview Practice Problems

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

6117
Problems
2267
Auto-graded
15
Topics
275
Added today

Showing 3391–3420 of 6117 results

  • BehavioralMediumModel answer
    Walk Through a System You Owned from Concept to Production

    Explain how you drove a technical project through discovery, implementation, launch, monitoring, and incident response, clarifying your individual contributions.

    Behavioralownershiptechnical-leadershipproduction-systems
  • Statistics & ExperimentsMediumModel answer
    Deciding Whether Two Samples Share the Same Distribution

    Walk through univariate and multivariate methods for comparing two distributions, covering test selection, effect sizes, multiple-testing control, and sampling design.

    Statistics & Experimentshypothesis-testingtwo-sample-testsmultivariatesampling
  • BehavioralMediumModel answer
    Five Behavioral Stories: Conflict, Ambiguity, Failure, Influence, Partnership

    Practice a five-prompt behavioral sweep covering conflict, ambiguity, failure, influence without authority, and cross-functional delivery, with tight time discipline.

    Behavioralbehavioralstar-methodconflictambiguity
  • Data Structure DesignMediumModel answer
    Build a POS cart with live receipt printing and combo deals

    Design a point-of-sale cart that prints an itemized receipt on every tap and then extends to apply non-overlapping combo discounts after each update.

    Data Structure Designdata-structuressimulationgreedy
  • System DesignHardModel answer
    Build a Consistent Online Store with Cart and Payment Handling

    Design an online shopping system handling product discovery, shopping carts, order placement, inventory management, and payment processing with consistency guarantees.

    System Designe-commercedistributed-systemstransactionsidempotency
  • System DesignMediumModel answer
    Build a Batch Text Labeling Pipeline with CSV Input

    Parse an uploaded CSV of text records, classify each via an external ML client, and write a structured JSON results file with per-row error isolation.

    System Designpythonfile-processingerror-handlingexternal-api
  • BehavioralEasyModel answer
    Applying AI Tools in Professional Software Development

    Discuss how you would integrate generative AI into development workflows, covering productivity gains, risk boundaries, security practices, and team adoption strategy.

    Behavioralleadershiprisk-managementai-toolsteam-dynamics
  • BehavioralMediumModel answer
    Should a Bank Keep a Costly but Customer-Facing Channel?

    Decide whether to retain a high-cost service channel by moving beyond unit economics to customer lifetime value, segment needs, and regulatory constraints.

    Behavioralbusiness judgmentchannel strategylifetime valuetrade-offs
  • Statistics & ExperimentsMediumModel answer
    Diagnose Poor Search Quality for Named-Entity Queries

    Design a metrics framework to identify and fix relevance and safety failures when users search for well-known brand or entity names on a content platform.

    Statistics & Experimentssearch relevancemetricsexperimentationcontent safety
  • BehavioralMediumModel answer
    Craft a 90-second pitch for a senior product analytics role

    Deliver a structured, metric-driven introduction covering background, two quantifiable wins, cross-functional influence, company motivation, and a 90-day goal.

    Behavioralcommunicationself-presentationproduct-analyticssenior-level
  • Trees & GraphsMediumAuto-graded
    Fold and Prune an Arithmetic Expression Tree

    Tests recursive AST traversal by simplifying an arithmetic expression tree through constant folding and algebraic identity rules, including cascading rewrites.

    Trees & Graphstreesrecursionast
  • SQL & DataMediumAuto-graded
    Per-Account Usage Means Above a Threshold

    Group readings by account id, keep accounts whose unrounded mean CPU, memory, or disk usage tops 50, then emit half-up rounded, email-sorted records.

    SQL & Dataaggregationgroupinghashingsorting
  • System DesignMediumModel answer
    Build a Messaging Platform with Instant and Offline Delivery

    Design an instant messaging system supporting direct and group chats with real-time delivery, offline queuing, and cross-device history sync.

    System Designmessagingreal-timedistributed-systemsscalability
  • Greedy & IntervalsMediumAuto-graded
    Peak Activity Count from Time Intervals

    Tests sweep-line techniques for interval overlap detection, event aggregation at boundaries, and proper handling of half-open interval semantics.

    Greedy & Intervalsintervalssweep-linesortingevent-processing
  • Arrays & HashingEasyAuto-graded
    Closest Pair of Target Words

    Find the minimum index gap between any occurrence of two distinct words in a list using single-pass tracking.

    Arrays & Hashingarraystringsingle-passtwo-pointer
  • Math & Bit ManipulationMediumAuto-graded
    32-Bit Integer Product via Shift-and-Add

    Tests mastery of bitwise arithmetic, sign handling, two's-complement overflow semantics, and O(log n) shift-and-add multiplication without using * or /.

    Math & Bit Manipulationbit-manipulationmathoverflowtwo's-complement
  • System DesignMediumModel answer
    Real-Time Leaderboard for a High-Traffic Content Platform

    Design a distributed service that tracks the most-viewed content items over a rolling one-hour window at 100K events/sec, serving ranked results with low latency.

    System Designstream-processingdistributed-systemsapproximation-algorithms
  • StringsEasyAuto-graded
    Convert Integer to English Words

    Tests ability to decompose integers into groups and translate numeric values into properly formatted English text with correct scaling terms.

    Stringsrecursionmathstring-formatting
  • System DesignMediumModel answer
    Diagnosing Performance Issues in a Live Commerce Platform

    Assess user experience, identify weak product areas through metrics, and debug suspected issues in a livestream shopping application.

    System Designproduct-analyticsdebuggingmetricsfunnel-analysis
  • Stacks & QueuesMediumModel answer
    Group Deletion Stack and Boundary Path Collection

    Remove consecutive identical-character groups from a string and collect a binary tree's boundary nodes in a specific mirror order.

    Stacks & Queuesstackbinary-treestring-manipulationrun-length-encoding
  • Machine LearningMediumModel answer
    Video anomaly detection pipeline for real-time surveillance

    Design an ML system to identify threatening behaviors in live camera feeds, handling extreme class imbalance and deployment constraints.

    Machine Learningcomputer-visionreal-time-systemsrare-event-detectionml-system-design
  • System DesignHardModel answer
    Debug a Failing Django Film Catalog Filter API

    Fix defects in an existing Django REST API so that a suite of automated tests covering search, filtering, ordering, and error handling all pass.

    System Designdjangodebuggingrest-apiquerysets
  • System DesignHardModel answer
    Design a Usage-Based Billing System with Holds, Batches, and Reconciliation

    Design a billing platform that authorizes funds, captures final amounts in batches, reconciles against processor settlements, and guarantees no customer is ever charged twice.

    System Designpaymentsidempotencyreconciliationstate-machine
  • Arrays & HashingMediumAuto-graded
    Find User Pairs with Enough Overlapping Interests

    Tests your ability to invert a membership index and use co-occurrence counting to efficiently find all pairs sharing at least k common items.

    Arrays & Hashinghash-mapsetsco-occurrenceinverted-index
  • Statistics & ExperimentsHardModel answer
    Should We Open a New Distribution Hub? A Full Analytics Framework

    Design an end-to-end analytical case for a warehouse build-vs-lease decision: demand forecasting, NPV modeling, incrementality experiments, sensitivity analysis, and a stakeholder recommendation.

    Statistics & Experimentsdemand-forecastingfinancial-modelingexperimentationnetwork-optimization
  • Data Structure DesignMediumModel answer
    Rolling-Window Key-Value Store with Live Average

    Design a key-value store that expires entries older than a configurable time window and supports O(1) average-case get, put, and average queries.

    Data Structure Designhash-maplinked-listsliding-windowamortized-analysis
  • Statistics & ExperimentsMediumModel answer
    Offline vs. Online Model Evaluation and Rare-Event Diagnostics

    Analyze why a model shows offline gains but no live improvement, using paired scenario replay and diagnosing power, exposure, and distribution drift issues.

    Statistics & Experimentsexperimentationmodel-evaluationrare-eventsstatistical-power
  • BehavioralMediumModel answer
    Walking Through a Hard Project You Owned

    Pick one recent, genuinely difficult project and narrate it in a way that shows your decisions, trade-offs, and measurable impact.

    Behavioralstar-methodownershiptrade-offsimpact
  • BehavioralMediumModel answer
    Product Experience, Taste, and Metrics Framework

    Discuss a product you built and its metrics, products you find well-designed, and how you'd improve a physical product with measurable success criteria.

    Behavioralproduct-managementmetricsuser-experienceexperimentation
  • BehavioralMediumModel answer
    Handling a Critical Production Incident You Caused

    Navigate a severe production latency incident triggered by your own deployment, balancing rapid mitigation, stakeholder communication, and systematic prevention.

    Behavioralincident-responsecommunicationaccountabilityleadership