KatInterview

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

Interview Practice Problems

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

6105
Problems
2259
Auto-graded
15
Topics
274
Added today

Showing 3601–3630 of 6105 results

  • Statistics & ExperimentsMediumModel answer
    Is a 4.2% CTR Actually Good? A Hypothesis Testing Walkthrough

    Given a campaign click-through rate, formally test whether it beats a benchmark and interpret both statistical and practical significance.

    Statistics & Experimentshypothesis-testingproportionsconfidence-intervalsa-b-testing
  • BehavioralEasyModel answer
    Managing Conflicting Analytics Priorities Across Teams

    Navigate competing analytics requests from multiple stakeholders by evaluating impact, communicating trade-offs, and maintaining principled prioritization under pressure.

    Behavioralprioritizationstakeholder-managementcommunicationleadership
  • BehavioralMediumModel answer
    Take Ownership Beyond Your Role and Grow a Struggling Peer

    Demonstrate initiative on a cross-team gap and lasting, coach-first support for a colleague who was falling behind on their commitments.

    Behavioralownershipmentorshipcross-functionalcoaching
  • System DesignMediumModel answer
    DevOps & Kubernetes Fundamentals: CI/CD to Production Ops

    Demonstrate practical DevOps fluency across CI/CD pipelines, GitOps delivery, Kubernetes troubleshooting, containerization, and Linux diagnostics.

    System Designkubernetesci-cddevopslinux
  • BehavioralMediumModel answer
    Navigate a High-Stakes Team Deadlock Under a Hard Deadline

    Walk through a real cross-functional conflict: diagnose root causes, weigh options, secure buy-in, enforce the resolution, and extract lasting process improvements.

    Behavioralconflict resolutionleadershipstakeholder managementdecision making
  • Machine LearningHardModel answer
    CNN vs Recurrent Models, Plus From-Scratch K-Means

    Compare convolutional and recurrent architectures, derive LSTM gating and tensor shapes, then implement and analyze a vectorized K-means with k-means++ seeding.

    Machine Learningcnnlstmk-means
  • Arrays & HashingMediumAuto-graded
    Align Time Series with Linear Interpolation

    Tests piecewise-linear interpolation, binary search, and boundary handling for sampling two time series at common timestamps.

    Arrays & Hashinginterpolationbinary-searchtime-series
  • SQL & DataMediumAuto-graded
    Aggregate Sales Totals by Month Across a Full Year

    Tests ability to join two relational datasets, filter by year, and produce a complete 12-row monthly summary including zero-revenue months.

    SQL & Dataaggregationjoindate-manipulation
  • BehavioralMediumModel answer
    Walk Through Your Work: Projects, Decisions, and Logistics

    Present 2–3 of your strongest projects with clear ownership, technical trade-offs, and measured outcomes, then answer standard logistics questions concisely.

    Behavioralresume walkthroughtechnical decisionswork authorizationcommunication
  • Statistics & ExperimentsMediumModel answer
    Uniform Sampling From a One-Pass Stream

    Design an O(k)-memory single-pass sampler for a stream of unknown length and prove every element is kept with probability k/n.

    Statistics & Experimentsreservoir-samplingrandomized-algorithmsstreamingprobability-proof
  • System DesignMediumModel answer
    Load Balancing, Caching, and Idempotent API Design

    Design a multi-instance backend service covering routing policies, multi-layer caching strategies, and idempotent API support for non-repeatable operations like payments.

    System Designload-balancingcachingidempotencydistributed-systems
  • Data Structure DesignMediumModel answer
    Concurrent Data Structures and Calendar Scheduling

    Build thread-safe request throttling, search from scratch, frequency-ranked retrieval, and multi-calendar availability finder.

    Data Structure Designconcurrencydata-structuresalgorithmsscheduling
  • Trees & GraphsMediumAuto-graded
    Flood Fill with Step Budget on an 8-Connected Grid

    Tests BFS-based grid traversal by counting distinct empty cells reachable from a starting position within a fixed number of 8-directional moves.

    Trees & Graphsbfsgridgraph-traversal
  • BehavioralMediumModel answer
    Identify and Resolve a User Problem Proactively

    Describe how you discovered a user friction point, validated its impact, decided on a solution, and measured the improvement in the user experience.

    Behavioralleadershipcustomer-focusinitiative
  • Greedy & IntervalsMediumAuto-graded
    Union Length of Half-Open Integer Intervals

    Merge overlapping half-open intervals to return the total length covered by at least one interval.

    Greedy & Intervalsintervalssortingsweep-linemerge
  • BehavioralMediumModel answer
    Walk Through a Past Project: Diagram, Ownership, and Design Trade-offs

    Present a real engineering project with a data-flow diagram, then go deep on your personal contribution, a key design decision, and how you validated the result.

    Behavioralproject deep divesystem design communicationtechnical ownershipdesign decisions
  • BehavioralMediumModel answer
    What You Want Next and a Project That Didn't Go as Planned

    Articulate your top role criteria with concrete evaluation signals, then walk through a technical project whose outcome diverged significantly from the original plan.

    Behavioralself-awarenesscareer-ownershipadaptabilitytechnical-judgment
  • Machine LearningHardModel answer
    Normalization Strategies: Batch vs Layer Normalization

    Explain how batch and layer normalization differ in computation, statistics, parameters, and inference behavior, plus debugging approaches.

    Machine Learningnormalizationdeep-learningtraininginference
  • System DesignHardModel answer
    Design the Infrastructure Behind a Recommendation Feed

    Design the serving and storage layers for a recommendation service, covering API shape, data flow, storage schemas, caching, and how batch training coexists with live traffic.

    System Designrecommendation-systemsdistributed-systemscachingkafka
  • Arrays & HashingMediumAuto-graded
    Profit, Collinearity, and Identity Merging in Three Parts

    Tests one-pass array scanning, integer-arithmetic collinear point detection, and union-find graph component grouping in a single combined function.

    Arrays & Hashingarraysmathunion-find
  • System DesignMediumModel answer
    Fix Summary Metrics That Ignore Active Filters

    Diagnose and fix an API endpoint where row results respect filters but the computed summary still reflects the full unfiltered dataset.

    System Designdebuggingdata-lineageapi-designtesting
  • Dynamic ProgrammingMediumAuto-graded
    Minimum Coins to Reach a Money Amount

    Tests dynamic programming on a coin-change problem where decimal monetary values must be safely converted to integers before solving.

    Dynamic Programmingdynamic-programmingdecimal-precisioncoin-change
  • BehavioralMediumModel answer
    Walk Me Through a Metric You Created That Shifted a Real Decision

    Tell a specific story about a metric you designed from scratch, validated, and got adopted — and show exactly what changed because of it.

    Behavioralmetricsdata-driven-decisionsstakeholder-influence
  • Machine LearningMediumModel answer
    LLM Internals: Architecture, Fine-Tuning, and Evaluation

    Explain decoder-only Transformer internals, compare positional encoding schemes, choose a PEFT strategy, and design an evaluation pipeline for a production LLM.

    Machine Learningllmtransformersfine-tuningpeft
  • StringsMediumAuto-graded
    Reversible String List Serializer

    Tests whether a candidate can design a lossless encode/decode round-trip for arbitrary strings without relying on a fixed delimiter character.

    Stringsstringsserializationencoding
  • System DesignMediumModel answer
    Hierarchical Multi-Tenant Rate Limiter Design

    Design a distributed limiter that enforces global, regional, and per-endpoint quotas at 500K RPS with sub-10ms overhead and graceful degradation.

    System Designrate-limitingdistributed-systemssystem-designredis
  • Machine LearningMediumModel answer
    Offline Evaluation Framework for a Video Safety Classifier

    Design an end-to-end offline evaluation pipeline for a binary content classifier, covering metrics, label collection, calibration, threshold choice, and fairness slicing.

    Machine Learningclassificationprecision-recallfairnessclass-imbalance
  • System DesignMediumModel answer
    Building a Fault-Tolerant Money Transfer Service

    Design a backend service that processes monetary transfers reliably despite retries, crashes, network failures, and ambiguous external responses.

    System Designdistributed-systemsfault-toleranceidempotencytransactions
  • BehavioralMediumModel answer
    Build a Hiking App: Product Design and Launch Strategy

    Design a mobile hiking app from user segmentation through MVP features, metrics, and go-to-market, defending trade-offs in safety, content, and growth.

    Behavioralproduct-designmetricsgo-to-market
  • Trees & GraphsEasyAuto-graded
    Tree Traversal with Depth Tracking

    Tests your ability to perform pre-order depth-first traversal on a tree structure and track hierarchical depth for each node.

    Trees & Graphstree-traversaldfsdepth-tracking