KatInterview

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

Interview Practice Problems

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

6084
Problems
2256
Auto-graded
15
Topics
273
Added today

Showing 3991–4020 of 6084 results

  • Statistics & ExperimentsMediumModel answer
    Reducing User Dropoff: Statistical Analysis and Experiment Design

    Evaluate a feature launch's impact on dropoff rates using hypothesis testing, regression adjustment, power calculations with clustering, and bootstrap methods.

    Statistics & Experimentshypothesis-testingregressionpower-analysisbootstrapping
  • Statistics & ExperimentsHardModel answer
    Design a marketplace A/B test with network effects

    Design an experiment for a two-sided marketplace feature, handling metric selection, randomization units, sample size calculation, and interference between users.

    Statistics & Experimentsa-b-testingexperimentationmarketplacestatistical-power
  • BehavioralMediumModel answer
    Walk Me Through a Project You Led End to End

    Structure a compelling technical deep dive covering problem context, your decisions, trade-offs, execution challenges, and measurable impact.

    Behavioralcommunicationtechnical ownershipsystem designimpact measurement
  • BehavioralMediumModel answer
    Walk a Non-Technical Stakeholder Through a Data Science Project

    Structure a compelling end-to-end narrative about a data science project you owned, balancing technical rigor with clear business impact for a mixed audience.

    Behavioralcommunicationdata sciencestakeholder managementmodel validation
  • Statistics & ExperimentsEasyModel answer
    Chatbot Quality Metrics: Joint Probability and A/B Testing

    Apply independence rules, expected counts with uncertainty, and a two-proportion hypothesis test to evaluate and compare chatbot response quality.

    Statistics & Experimentsprobabilityhypothesis-testinga-b-testing
  • System DesignMediumModel answer
    Mutex Mechanics and Safe Shared State Access in C++

    Explain how a C++ mutex enforces exclusive access, how locking works under contention, and how to correctly guard a multi-threaded shared counter.

    System Designconcurrencycppthreading
  • System DesignHardModel answer
    Real-Time Event Tracking with Rolling Window Aggregations

    Design a high-throughput pipeline that ingests behavioral events, deduplicates them, and serves accurate activity counts over 1-minute, 1-hour, and 24-hour sliding windows.

    System Designstreamingtime-seriesaggregationdeduplication
  • BehavioralMediumModel answer
    Discussing a Complex Engineering Project with Technical Depth

    Articulate a challenging technical project by covering ownership, constraints, architectural choices, scaling strategy, and retrospective insights.

    Behavioralbehavioralleadershipsystem-designcommunication
  • System DesignHardModel answer
    Design a Real-Time Collaborative Document Editing Service

    Design the backend for a multi-user document editor supporting concurrent edits, offline sync, conflict resolution, history, and per-note scaling.

    System Designreal-timecollaborationwebsocketscrdt
  • Data Structure DesignEasyAuto-graded
    Build a Fixed-Capacity Recency-Ordered Cache

    Tests whether you can design a cache that evicts the least-recently-touched entry in O(1) time using a hash map paired with an ordered structure.

    Data Structure Designhash-maplinked-listcacheOrderedDict
  • Data Structure DesignMediumAuto-graded
    Unified Entity Log with Mergeable ID Groups

    Tests ability to design a data structure that resolves multiple system-assigned IDs to a single entity and returns a chronologically merged observation history.

    Data Structure Designunion-finddesignsorting
  • Greedy & IntervalsEasyAuto-graded
    Budget Shopping from Array Suffix

    Tests greedy selection with precomputation, prefix sums, and binary search to maximize item counts under budget constraints.

    Greedy & Intervalsgreedybinary-searchprefix-sumsorting
  • Data Structure DesignMediumAuto-graded
    Two-Way Link Mapper: Shorten and Restore URLs

    Tests ability to design a bidirectional hash map structure that assigns stable short identifiers to long URLs and retrieves originals in O(1).

    Data Structure Designhash-mapdesignstrings
  • Math & Bit ManipulationHardModel answer
    Do Two Walkers Ever Share the Same Tile?

    Determine if two entities moving on an infinite 2D grid ever occupy the same cell at the same integer time step.

    Math & Bit Manipulationgeometrysimulationinterval-arithmetictwo-pointers
  • BehavioralMediumModel answer
    Behavioral Stories That Hold Up Under Deep Follow-Up

    Structure and deliver concrete STAR stories covering ownership, bias for action, customer focus, and failure in a behavioral interview setting.

    BehavioralSTAR methodleadership principlesbehavioral interviewfailure story
  • Heaps, Sorting & SearchMediumAuto-graded
    Find a Value in a Shifted Sorted Array

    Tests whether a candidate can run a single-pass binary search on a sorted array that has been cyclically shifted by an unknown offset.

    Heaps, Sorting & Searchbinary-searcharraysdivide-and-conquer
  • Arrays & HashingEasyModel answer
    Identify the Most Common Function Call in Application Logs

    Determine which function name occurs most often in a list of log entries and report its occurrence count.

    Arrays & Hashinghash-mapfrequency-countingiteration
  • SQL & DataMediumModel answer
    Schema Design for a Video Streaming Service

    Design a relational database schema for a large-scale video platform, addressing scalability, GDPR compliance, and analytics requirements.

    SQL & Datadatabase-designschema-modelingindexingpartitioning
  • Trees & GraphsMediumAuto-graded
    Largest Label Spread Across Graph Clusters

    Tests ability to find connected components in an undirected graph and compute the maximum difference between the highest and lowest node labels in any single component.

    Trees & Graphsunion-findgraphsconnected-components
  • BehavioralMediumModel answer
    Navigating Culture Gaps and Collaborative Conflict

    Show how you identify working-style mismatches, adapt without losing effectiveness, and influence team norms while handling ambiguity, competing priorities, and pushback.

    Behavioralculture-fitconflict-resolutioninfluence-without-authorityambiguity
  • SQL & DataMediumModel answer
    Rolling Week Averages with Calendar-Based Windows

    Calculate a 7-day moving average for each date using calendar intervals, not row counts, handling gaps and NULL values correctly.

    SQL & Datawindow-functionsdate-arithmeticaggregation
  • BehavioralHardModel answer
    Own a Project Deep Dive: Complexity, Bottlenecks, and Scale

    Walk through a project you built, explaining its data flow, the hardest technical constraint, what you personally owned, and how you would scale it.

    Behavioralproject deep divescalabilitytechnical ownershipsystem design
  • Arrays & HashingHardAuto-graded
    Backtest a Mean-Reversion Trading System

    Tests ability to implement a complete trading backtest with entry/exit logic, transaction costs, performance metrics, train/test splits, and statistical validation.

    Arrays & Hashingbacktestingtime-seriesfinancesimulation
  • System DesignHardModel answer
    Semantic Cache with Deduplication Under Concurrent Load

    Build a cache that recognizes semantically equivalent inputs, avoids redundant expensive computation when similar requests arrive concurrently, and keeps outputs consistent.

    System Designcachingconcurrencyembeddingsdistributed-systems
  • BehavioralMediumModel answer
    Project Deep Dive: Architecture, Ownership, and Impact

    Walk through a past project's technical choices, your personal contributions, the toughest obstacles, and the measurable outcomes.

    Behavioralbehavioralleadershiptechnical-depth
  • Arrays & HashingMediumAuto-graded
    Sequential Shape Placement on a Matrix

    Tests matrix manipulation, collision detection, and ordered simulation by placing fixed shapes onto a grid.

    Arrays & Hashingmatrixsimulationgreedy
  • StringsMediumAuto-graded
    Build All Balanced Bracket Sequences

    Tests recursion with constraint-based pruning to construct valid nested bracket strings without generating invalid candidates.

    Stringsrecursionbacktrackingcombinatorics
  • StringsMediumModel answer
    Rule Engine with Operator Precedence and Quoted Strings

    Build a transaction filter that evaluates accept/block rules in sequence, supporting field equality, boolean logic, AND/OR operators, and parentheses.

    Stringsparsingstring-matchingoperator-precedencetokenization
  • BehavioralMediumModel answer
    Building a Trustworthy AI Feature for Real Customer Impact

    Demonstrate how you identified a customer problem, deployed an AI solution responsibly, verified its outputs, and made the improvement last.

    BehavioralAI/MLownershipverificationcustomer impact
  • Arrays & HashingEasyAuto-graded
    Next Red Card: Conditional Draw Probability

    Tests conditional probability under sampling without replacement from a fixed-composition deck given observed draw history.

    Arrays & Hashingprobabilitycombinatoricsconditional-probability