KatInterview

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

Interview Practice Problems

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

6115
Problems
2266
Auto-graded
15
Topics
277
Added today

Showing 3481–3510 of 6115 results

  • BehavioralHardModel answer
    Deep Dive: Your Most Impactful Infrastructure Project

    Walk through a major infrastructure project end-to-end, covering problem framing, architecture, scale numbers, a real incident, and quantified results.

    Behavioralinfrastructuretechnical leadershipsystem designincident response
  • SQL & DataEasyAuto-graded
    Reconcile User Settings from Snapshot and Activity Log

    Tests table joins, state reconciliation, and handling baseline data overridden by timestamped events

    SQL & Datadata-manipulationjoinsstate-reconciliation
  • BehavioralMediumModel answer
    Preparing for an Async Video Interview as a Frontend Engineer

    Structure effective responses for a timed asynchronous video screening, demonstrating frontend technical depth, collaboration skills, and role alignment.

    Behavioralfrontendcommunicationcareer-progression
  • Statistics & ExperimentsMediumModel answer
    P-values, Confidence Intervals, and Hypothesis Test Selection

    Explain p-values vs. confidence intervals, when to use t-tests vs. chi-square tests, and define Type I and Type II errors with examples.

    Statistics & Experimentsstatisticshypothesis-testinginferencefundamentals
  • BehavioralMediumModel answer
    Navigating Collaboration, Workload, and Feedback at Work

    Demonstrate soft skills—conflict resolution, prioritization, mentorship, and feedback—through structured behavioral stories drawn from real experience.

    Behavioralteamworkprioritizationfeedbackconflict-resolution
  • BehavioralMediumModel answer
    Handling Deadlines, Ownership, and Feedback Under Pressure

    Demonstrate your approach to tight timelines, leading through obstacles, stepping beyond defined boundaries, and revising decisions when challenged.

    Behavioralleadershipownershipcommunicationtrade-offs
  • Dynamic ProgrammingMediumAuto-graded
    Fewest Items to Hit an Exact Weight Target

    Tests whether a candidate can apply 0/1 knapsack DP to find the minimum number of items from a list whose weights sum to exactly a given target.

    Dynamic Programmingdynamic-programmingknapsackarrays
  • Data Structure DesignMediumModel answer
    Concurrent Queue with Bounded Capacity and Graceful Shutdown

    Implement a thread-safe FIFO queue with fixed capacity, blocking operations, timeout support, and coordinated shutdown behavior.

    Data Structure Designconcurrencythreadingsynchronizationmonitor-pattern
  • Arrays & HashingMediumModel answer
    Walk Through Your Subarray Solution and Its Trade-offs

    Given a solution to a subarray-sum problem, explain your approach, prove it correct, analyze complexity, and compare it to at least two alternatives.

    Arrays & Hashingprefix-sumhash-mapcomplexity-analysiscommunication
  • BehavioralMediumModel answer
    Build a Geometry Library with Interfaces and Classes

    Create an abstract interface for geometric shapes and implement concrete classes for circles and rectangles with validation and immutability.

    Behavioralobject-oriented-designinterfacesencapsulationpolymorphism
  • System DesignHardModel answer
    Design a Spoken Role-Play Tutor for Many Languages

    Design a real-time multilingual voice role-play practice feature: content model, session state machine, low-latency audio pipeline, offline mode, personalization, scaling and privacy.

    System Designsystem-designspeechlow-latencymultilingual
  • Dynamic ProgrammingMediumAuto-graded
    Maximum Reward Within a Spending Limit

    Tests whether a candidate can apply 0/1 knapsack dynamic programming to maximize total reward without exceeding a fixed spending cap.

    Dynamic Programmingdynamic-programmingknapsackoptimization
  • BehavioralMediumModel answer
    Explain a Technical Skill You Recently Acquired

    Discuss a new engineering concept you learned, your learning approach, initial mistakes, and how you applied it to solve real problems.

    Behaviorallearning-agilitytechnical-depthproblem-solvingself-awareness
  • System DesignMediumModel answer
    Design a Delayed Webhook Delivery Service

    Design a system that accepts a target URL, a future timestamp, and a JSON payload, then reliably delivers that payload via HTTP at the scheduled time.

    System Designsystem-designschedulingqueuesreliability
  • Statistics & ExperimentsMediumModel answer
    Experiment Design for a Flexible Merchant Promotions Feature

    Design success metrics, an A/B test, and a ramp strategy to evaluate a new tool that lets merchants schedule time-based discounts and control their own promotional eligibility.

    Statistics & Experimentsexperimentationcausal-inferenceCUPEDmetrics-design
  • BehavioralMediumModel answer
    Redirect a Team Moving Toward a Technical Dead End

    Describe a time you spotted a flawed technical direction, validated the problem with evidence, and guided your team toward a better path without damaging trust.

    Behavioralleadershipconflict-resolutiontechnical-judgmentdisagree-and-commit
  • Data Structure DesignHardAuto-graded
    Type-Safe Storage with Lifetime Tracking

    Tests understanding of object lifetime management, type tracking, and exception safety in a discriminated union implementation.

    Data Structure Designobject-lifetimetype-safetyexception-handling
  • Data Structure DesignMediumModel answer
    One-Edit Word Lookup and Vertical Tree Traversal

    Design a data structure for single-character substitution queries, then output a binary tree's node values sorted by column, row, and left-to-right order.

    Data Structure Designhashingtriebinary-treebfs
  • System DesignMediumModel answer
    Real-Time Ranking Service for Delivery Couriers

    Design a high-throughput system that ingests courier ratings and serves a low-latency top-K leaderboard under eventual consistency.

    System Designleaderboardrediskafkaaggregation
  • Trees & GraphsMediumModel answer
    Minimum Spread Time for Contamination in a Grid

    Find how many steps a contamination spreads from multiple sources through a grid, or determine if some cells remain permanently unaffected.

    Trees & GraphsBFSmulti-source BFSgrid traversalshortest path
  • Statistics & ExperimentsHardModel answer
    Design a Video-Ad Format Experiment and Diagnose a Null Result

    Design a rigorous A/B test for a new video-ad format end-to-end, then walk through a structured diagnostic playbook if the primary metric shows no lift.

    Statistics & ExperimentsexperimentationA/B testingcausal inferencepower analysis
  • System DesignMediumModel answer
    LLM-Powered Review Digest Pipeline with Injection Defenses

    Design a system that ingests untrusted mobile app reviews at scale and produces safe, LLM-generated theme digests for internal product teams.

    System Designllmprompt-injectionpiipipeline
  • System DesignHardModel answer
    Build a Fault-Tolerant Job Scheduler for Async Workflows

    Design a distributed scheduling service that fires one-time and recurring jobs on time, at scale, without losing a single task across node failures or clock drift.

    System Designdistributed-systemsschedulingfault-tolerancequeues
  • System DesignMediumModel answer
    In-Memory Store with Sliding-Window Request Counter

    Design a thread-safe key-value store that tracks how many operations occurred in any recent time window, without storing one entry per request.

    System Designconcurrencymetricsring-bufferkey-value-store
  • Greedy & IntervalsHardAuto-graded
    Maximize Paired Sum with Coverage Constraint

    Tests greedy reasoning and sorting to maximize the sum of "lesser" elements across a constrained pairing of an even-length array.

    Greedy & Intervalsgreedysortingarrays
  • System DesignHardModel answer
    Building a Durable Workflow Orchestrator Across Microservices

    Design a fault-tolerant engine that runs multi-step service workflows with ordering, retries, compensation, and exactly-once side effects.

    System Designworkflow-orchestrationdistributed-systemsidempotencysaga-pattern
  • Arrays & HashingMediumAuto-graded
    Longest Contiguous Subarray with a Target Sum

    Tests prefix-sum reasoning, hash-map lookups, and precise tie-breaking to find the longest subarray summing to exactly k.

    Arrays & Hashingprefix-sumshash-maparrays
  • SQL & DataMediumModel answer
    E-commerce Event Aggregation: Metrics and Ranking

    Aggregate event logs to compute shop exposure metrics, normalize by observation period, rank within categories using window functions, and segment user engagement by tenure.

    SQL & Dataaggregationwindow-functionsjoinscase-expressions
  • Data Structure DesignHardAuto-graded
    Versioned Membership Tracker with Point-in-Time Queries

    Tests ability to design a copy-on-write set that records per-element change history and answers historical membership queries in O(log n) via binary search.

    Data Structure Designbinary searchdesignhash map
  • System DesignMediumModel answer
    Two-Sided Local Services Feature Inside a Social Platform

    Design a home-repair hiring product embedded in a major social platform, covering user segmentation, trust mechanics, marketplace dynamics, and success metrics.

    System Designproduct designmarketplacetrust and safetymetrics