KatInterview

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

Interview Practice Problems

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

6089
Problems
2257
Auto-graded
15
Topics
277
Added today

Showing 3931–3960 of 6089 results

  • BehavioralHardModel answer
    Walk Me Through a Project You Owned and How You Structure Your Work

    Use one real project to show personal ownership, a lesson that changed your thinking, and how you organize a typical workday with competing demands.

    Behavioralownershipgrowth-mindsettime-managementimpact
  • System DesignHardModel answer
    Architect the Write Path and Crash Recovery for a Cloud-Native Database

    Design a distributed database that separates compute from storage, detailing how writes are committed durably, how a failed node recovers, and how quorum keeps the write path moving under slow or failed storage nodes.

    System Designdistributed-systemsdurabilityreplicationquorum
  • Arrays & HashingHardAuto-graded
    All MEX Values After One Optional Increment

    Find every possible MEX after incrementing at most one array element by 1, respecting an upper-bound constraint.

    Arrays & Hashingarraysgreedymathcase-analysis
  • System DesignHardModel answer
    RF & Analog IC Design: Core Concepts for Circuit Interviews

    Work through receiver architectures, impedance matching, PLLs, VCOs, op-amp noise, and charge-pump non-idealities as a structured oral exam.

    System Designanalog-designRFPLLoscillators
  • System DesignMediumModel answer
    Designing Cross-Region Data Consistency for a Fintech Platform

    Architect a multi-region data layer for a global payments platform that balances low-latency reads, strongly consistent money movement, and graceful regional failover.

    System Designdistributed-systemsdata-replicationconsistencytransactions
  • Statistics & ExperimentsHardModel answer
    Virtual Queue Pilot: Experiment Design and Revenue Tradeoff

    Design an A/B test for a theme park virtual queue that targets shorter waits without harming revenue; address interference, power analysis, and mixed outcomes.

    Statistics & Experimentsexperimentationcausal-inferencemetricsanalytics
  • BehavioralMediumModel answer
    Simplify a Broken Process and Recover a Customer Miscommunication

    Tell two concrete stories: one where you cut real complexity from a workflow, and one where you diagnosed a communication breakdown with an external customer and fixed it.

    Behavioralleadershipcommunicationprocess-improvementstakeholder-management
  • Arrays & HashingEasyAuto-graded
    Count Strictly Rising Signal Windows

    Count how many contiguous subarrays of length exactly k have strictly increasing values in a signal array.

    Arrays & Hashingarrayssliding-windowcounting
  • Stacks & QueuesMediumModel answer
    Maximize Throughput in a Serial Manufacturing Pipeline

    Design and simulate a fixed-time serial pipeline to maximize completed units, given per-stage processing times, inter-stage buffer capacities, and blocking-after-service rules.

    Stacks & Queuessimulationschedulingqueuesthroughput
  • Greedy & IntervalsMediumModel answer
    Merge Active Intervals from Multiple Time-Series Sensors

    Parse sensor streams into continuous activity windows and find time ranges where all sensors are simultaneously active.

    Greedy & Intervalsintervalstime-seriesintersectiontwo-pointers
  • Machine LearningMediumModel answer
    OLS on Market Data: Reading Betas and Testing Added Features

    Fit an OLS model on financial panel data, interpret each coefficient in economic terms, and test whether each extra feature adds explanatory power.

    Machine Learninglinear-regressionstatistical-inferencefeature-selectiontime-series
  • Machine LearningMediumModel answer
    Design a Large-Scale Batch Inference Pipeline

    Design a production-grade batch inference system that runs a language model over millions of daily documents with exactly-once semantics, versioning, and operational reliability.

    Machine Learningbatch inferenceMLOpssystem designfault tolerance
  • BehavioralMediumModel answer
    Navigating a Compressed Timeline on a High-Stakes Project

    Craft a concrete, structured story showing how you prioritized, communicated, and delivered under a hard deadline without sacrificing what mattered most.

    Behavioraltime-managementprioritizationcommunicationownership
  • Data Structure DesignMediumAuto-graded
    Replayable Library Lending Operations

    Simulate a book catalog with case-insensitive title/author search and atomic borrow/return state transitions replayed from an operation log.

    Data Structure Designhash-mapsimulationstring-matchingstate-machine
  • Data Structure DesignHardAuto-graded
    Rolling-Window Chat Activity Tracker

    Build a bounded-memory sliding-window aggregator answering distinct-chat, distinct-user, and message-total queries from an operation log in amortized O(1).

    Data Structure Designsliding-windowdequehash-mapreference-counting
  • BehavioralEasyModel answer
    Financial Derivatives: Contracts and Rights

    Explain forward agreements and options, their structure, obligations, pricing fundamentals, and how they differ in practice.

    Behavioralfinancefundamentalsdomain-knowledge
  • SQL & DataMediumAuto-graded
    Purchase Line-Item Cost Calculator with Validation

    Tests data validation, numeric robustness, error handling, aggregation, and sorting in a billing calculation task

    SQL & Datadata-validationaggregationsorting
  • Arrays & HashingMediumAuto-graded
    Length of the Longest Run of Consecutive Integers

    Tests whether a candidate can find the longest chain of consecutive integers in an unsorted array in linear time using a hash set.

    Arrays & Hashinghash-setarrayssequences
  • BehavioralHardModel answer
    Present Your Experience and a Technical Achievement

    Articulate your career trajectory, describe a meaningful technical accomplishment with metrics, and demonstrate operational maturity through incident response.

    Behavioralcommunicationleadershipinfrastructuredatabases
  • Machine LearningMediumModel answer
    Multimodal RAG for Financial Documents and Charts

    Design a provenance-tracked hybrid retrieval system over text PDFs and chart images, with reranking, ACL/PII controls, calibrated abstention, and staged evaluation.

    Machine Learningragmultimodalretrievalhybrid-search
  • System DesignMediumModel answer
    Build a Controlled Enterprise Agent System with State and Guardrails

    Design a platform that executes agent tasks safely in enterprise environments, balancing model autonomy with workflow constraints and permission checks.

    System Designagentsplatform-architecturesecuritylatency
  • Machine LearningHardModel answer
    Ranking Property Listings When There Is No Search Query

    Design an ML ranking system for a short-term rental platform where candidates are pre-filtered and there is no free-text query to match against.

    Machine Learningrankingrecommendationpersonalizationbias
  • BehavioralHardModel answer
    Behavioral round prep: motivation, quick decisions, deadline pressure

    Practice four internship behavioral questions—why this company, why this role, a fast decision, and a deadline crunch—with STAR stories that survive deep follow-ups.

    Behavioralbehavioralstar-methodprioritizationdecision-making
  • Greedy & IntervalsMediumAuto-graded
    Count Active Surveillance Cameras at Each Minute

    Tests the sweep-line technique by computing, for each minute in a query list, how many camera recording intervals are active at that exact moment.

    Greedy & Intervalssweep lineintervalsgreedysorting
  • Heaps, Sorting & SearchMediumAuto-graded
    First Flagged Build in a Deployment Pipeline

    Tests whether a candidate can recognize a monotonic predicate and apply binary search to find the first transition point without comparing version strings.

    Heaps, Sorting & Searchbinary-searcharraysmonotonic-predicate
  • StringsEasyAuto-graded
    Count Single-Character Occurrences in a String

    Tests whether a candidate can scan a string and tally exact, case-sensitive matches for a given character, including edge cases like empty input and repeated characters.

    Stringsstringscountingcase-sensitivity
  • Machine LearningHardModel answer
    Build a PII Detection System for Large-Scale Databases

    Design an ML-powered pipeline to automatically discover and classify personal information across billions of records in structured tables and unstructured text.

    Machine Learningml-system-designprivacydata-pipelinellm
  • BehavioralMediumModel answer
    Walk Me Through Your Hardest Engineering Challenge

    Describe a technically demanding project you owned, covering the core obstacle, trade-offs, your specific contributions, validation, results, and what you carried forward.

    Behavioralbehavioraltechnical depthcommunicationtrade-offs
  • Statistics & ExperimentsHardModel answer
    Designing a Cross-App Causal Experiment for a New Social Feature

    Design an end-to-end causal experiment for a new short-video feature that may shift engagement between two apps in the same product family.

    Statistics & Experimentsexperimentationcausal-inferenceOECdiff-in-diff
  • Data Structure DesignMediumAuto-graded
    Billing Reconciliation: Match Payments to Invoices in Three Stages

    Tests incremental lookup design by matching payments to invoices via explicit ID, then earliest-dated exact-amount fallback, then a forgiveness range, with closed-invoice tracking throughout.

    Data Structure Designhash-mapheapsegment-tree