KatInterview

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

Interview Practice Problems

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

6057
Problems
2242
Auto-graded
15
Topics
273
Added today

Showing 4471–4500 of 6057 results

  • Math & Bit ManipulationHardAuto-graded
    Compute Complexity Bounds for Dense Matrix Operations

    Tests asymptotic analysis skills by deriving time and space complexity for dense matrix multiplication with multiple dimensions.

    Math & Bit Manipulationcomplexity-analysislinear-algebrabig-o
  • System DesignHardModel answer
    Design a Resumable, Token-Secured File Transfer Platform

    Design a high-throughput file transfer service that handles multi-gigabyte uploads and downloads with scoped token auth, revocation, chunk integrity, and bounded proxy memory.

    System Designdistributed-systemssecuritystorageapi-design
  • Trees & GraphsMediumAuto-graded
    Fewest Cells Through a Diagonal-Move Grid

    Find the length of the shortest 8-directional clean-cell path across a square 0/1 grid using BFS.

    Trees & Graphsbfsgridshortest-path
  • System DesignMediumModel answer
    Design a Concert & Event Ticket Sales Platform

    Design a seat reservation system for high-demand events, covering inventory consistency, surge traffic, payment edge cases, and failure recovery.

    System Designsystem-designdistributed-systemsconsistencyqueuing
  • Data Structure DesignMediumAuto-graded
    Shared Token Bucket with Optimistic Concurrency

    Tests implementation of a token bucket rate limiter over a versioned key-value store, including lazy replenishment, clock skew tolerance, and CAS-based retry logic.

    Data Structure Designdesignconcurrencysimulation
  • Data Structure DesignMediumModel answer
    Design a Lazy Iterator Pipeline with Range and Combinators

    Build a pull-based iterator for ranges with configurable steps and endpoints, plus composable transformations like map, filter, zip, take, drop, and chain.

    Data Structure Designiteratorslazy-evaluationfunctional-programming
  • Statistics & ExperimentsMediumModel answer
    Modeling Joint Tail Risk and Classic Probability Puzzles

    Build a copula-based stress framework for correlated commodities, compute variance formulas for sums, analyze the door-switching paradox, and solve the weighted-ball identification puzzle.

    Statistics & Experimentsprobabilityrisk-modelingcopulasbrain-teasers
  • Greedy & IntervalsMediumAuto-graded
    Maximum Non-Overlapping Meetings in a Workday

    Tests greedy interval scheduling and string parsing: convert "Name: HH:MM-HH:MM" strings into time intervals, then find the largest set of compatible meetings.

    Greedy & Intervalsgreedyintervalsstrings
  • Statistics & ExperimentsMediumModel answer
    Causal Inference Without Experiments + Three-Arm Conversion Test

    Design a quasi-experimental causal study, analyze a three-variant CTP experiment by hand, layer in business guardrails, and forecast post-launch performance with uncertainty.

    Statistics & Experimentscausal-inferencea/b-testingconfidence-intervalsexperimentation
  • Statistics & ExperimentsMediumModel answer
    Plant-Based Menu Addition: Financial Viability and Pilot Strategy

    Evaluate whether a restaurant chain should add a plant-based burger by analyzing unit economics, cannibalization effects, and designing an experiment to test the decision.

    Statistics & Experimentsbusiness-metricsexperimentationprofitabilityproduct-launch
  • System DesignMediumModel answer
    Build and Scale a Freight Quote Service with Slow Dependencies

    Implement service logic for a freight pricing API, then architect for high traffic when external services are slow.

    System DesignAPI designdistributed systemscachingreliability
  • Heaps, Sorting & SearchMediumAuto-graded
    Minimum Relay Power for Full Network Coverage

    Tests binary search on the answer combined with a greedy coverage check to find the minimum broadcast power so every city is reachable from a central hub.

    Heaps, Sorting & Searchbinary searchgreedysorting
  • Data Structure DesignHardModel answer
    Build a Concurrent Multi-Constraint Rate Limiter

    Design a thread-safe class that enforces several independent rate limits simultaneously, with atomic all-or-nothing permit acquisition and rollback on failure.

    Data Structure Designconcurrencyrate-limitingsliding-windowatomicity
  • Data Structure DesignMediumModel answer
    Async URL Batch Fetcher with Concurrency Limits

    Build an async function that fetches a list of URLs with bounded parallelism, deduplicates identical URLs, preserves input order, and isolates per-URL errors.

    Data Structure Designasyncconcurrencypythondeduplication
  • Stacks & QueuesMediumAuto-graded
    Skyline Visible Buildings Count

    Tests ability to use a monotonic stack to count, for each building, how many previous buildings are visible looking back from it along a city skyline.

    Stacks & Queuesmonotonic stackarrayssimulation
  • BehavioralMediumModel answer
    Walk Me Through a Project You Owned Start to Finish

    Demonstrate end-to-end ownership of a real project by covering the problem, your role, technical decisions, launch, results, and what you'd do differently.

    Behavioralownershiptechnical decision-makinglaunchmetrics
  • StringsMediumAuto-graded
    Build a Token Merger with Threshold-Based Pair Consolidation

    Tests implementation of a stateful tokenizer that learns merge operations by iteratively combining frequent adjacent pairs, then applies those rules to encode and decode text.

    Stringstokenizationgreedystate-management
  • Math & Bit ManipulationMediumModel answer
    Most Negative 8-bit Value with Exactly Three Set Bits

    Find the smallest two's-complement signed 8-bit integer whose binary representation contains exactly three 1 bits.

    Math & Bit Manipulationbit-manipulationtwo's-complementsigned-integers
  • Arrays & HashingMediumAuto-graded
    Best Subarray Sum in a Tiled Sequence

    Tests whether a candidate can extend Kadane's algorithm to a sequence formed by repeating an array k times, handling boundary crossings and all-negative inputs.

    Arrays & Hashingkadanesubarraygreedy
  • Trees & GraphsMediumAuto-graded
    Virus Spread on a Grid

    Tests multi-source BFS on a 2D grid to find the minimum number of rounds for an infection to reach every susceptible cell, or detect if it cannot.

    Trees & Graphsbfsmatrixmulti-source
  • Data Structure DesignMediumModel answer
    Alphabet-Coverage Web Crawler with Rate Limiting

    Build a crawler that prioritizes unvisited first-letters across a link graph while respecting a configurable requests-per-second ceiling.

    Data Structure Designcrawlingrate-limitingpriority-queuededuplication
  • Machine LearningMediumModel answer
    How Neural Networks Work and Learn from Data

    Explain the structure and computation of a neural network, the role of non-linear activations, and how parameters are learned through loss minimization and backpropagation.

    Machine Learningneural-networksdeep-learningfundamentals
  • System DesignMediumModel answer
    Design a Safe, Automated Code-Change Pipeline

    Design an end-to-end pipeline that takes an engineering ticket, uses an LLM agent to propose code changes, and produces a verified pull request safely.

    System Designsystem-designai-agentsdeveloper-toolingsecurity
  • BehavioralMediumModel answer
    Shell Proficiency and Query Building for Engineers

    Demonstrate command-line capabilities and SQL query construction skills expected in software engineering roles.

    Behaviorallinuxsqltoolingfundamentals
  • Statistics & ExperimentsMediumModel answer
    Designing a Metrics Framework for Robot Fleet Monitoring

    Build a layered metrics system to track health, performance, and safety across a fleet of warehouse robots during a firmware deployment.

    Statistics & Experimentsmetricsexperimentationcausal-inference
  • BehavioralHardModel answer
    Walk Me Through a Complex Project You Built

    Present a significant technical project you led, covering architecture decisions, personal ownership, a real failure, and measurable outcomes — while fielding probing follow-ups.

    Behavioralproject deep divetechnical communicationownershiptrade-offs
  • BehavioralEasyModel answer
    Systematic Approach to Debugging Production Incidents

    Describe a repeatable, structured methodology for diagnosing and resolving issues in a live system, from initial triage through root-cause analysis and prevention.

    Behavioraldebuggingincident-responseproductionroot-cause-analysis
  • System DesignHardModel answer
    Design a Multi-Tenant Namespace File Storage Service

    Design a production file storage system with hierarchical namespaces, per-directory capacity limits, atomic duplicate renaming, and petabyte-scale content storage.

    System Designdistributed-systemsstorageconcurrencymetadata
  • System DesignMediumModel answer
    Build a Parallel Image Transform Pipeline With Worker Processes

    Design a resize-then-watermark pipeline for a batch of photos, then scale it across a bounded pool of worker processes with safe output writes and per-photo failure isolation.

    System Designconcurrencymultiprocessingpipeline-design
  • Data Structure DesignMediumModel answer
    Four Algorithm Problems: Graphs, Search, Simulation, and Design

    Solve four independent problems covering Eulerian path reconstruction, timestamped key-value lookup, ray reflection simulation, and a high-throughput score tracker.

    Data Structure Designgraphsbinary-searchsimulationdata-structure-design