KatInterview

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

Interview Practice Problems

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

6046
Problems
2239
Auto-graded
15
Topics
273
Added today

Showing 1321–1350 of 3807 results

  • BehavioralMediumModel answer
    Six Behavioral Stories: Pressure, Conflict, Feedback, Initiative

    Prepare structured stories on a tight deadline, helping others, root-cause analysis, a peer conflict, work beyond your remit, and harsh feedback, each with concrete actions and results.

    Behavioralbehavioralleadershipstar-methodconflict-resolution
  • Machine LearningMediumModel answer
    Keeping a Capable AI System Faithful to Its Intended Purpose

    Open-ended discussion on what alignment means, how to spot and reduce misalignment, how to handle misuse, and how to design one falsifiable research experiment.

    Machine Learningai-alignmentai-safetyevaluationinterpretability
  • System DesignHardModel answer
    Build a Multi-Channel Push and In-App Messaging Platform

    Design a scalable messaging backend for a consumer mobile app that delivers push and in-app messages, honors user preferences, and stays reliable and legally compliant across regions.

    System Designsystem-designnotificationskafkaidempotency
  • Greedy & IntervalsHardModel answer
    Bird Physics Tick and Fee-Ratio Block Packing

    Two coding tasks: a one-tick bird movement function with inclusive bounds, and a greedy block builder that scores transactions together with their unconfirmed ancestors.

    Greedy & Intervalsgreedytopological-sortcycle-detectionsimulation
  • System DesignMediumModel answer
    Design a Scalable Video Like-Count Engine for Viral Bursts

    Architect a high-performance system to handle user video likes, user engagement tracking, and extreme traffic bursts on viral content.

    System Designsystem-designdistributed-systemscachingdata-pipelines
  • System DesignHardModel answer
    Designing a Commit-to-Car Release Pipeline with Graph-Based Builds

    Design the path from a monorepo push to software running on customer vehicles, then explain how the build system chooses and orders the targets to build and test.

    System Designci-cdota-updatesmonorepobuild-systems
  • BehavioralEasyModel answer
    Structuring Behavioral Responses Using the Framework Approach

    Learn how to craft high-impact answers for common screening questions on motivation, overcoming obstacles, and team collaboration using a structured format.

    Behavioralbehavioralstar-frameworkinterview-prepcommunication
  • Machine LearningMediumModel answer
    Why Boosting Works: Sequential Learners and Margins

    Decide which statement best explains boosting for classification and justify it using sequential fitting, signed margins, surrogate losses, and the limits of margin guarantees.

    Machine Learningboostingadaboostmarginensemble-methods
  • BehavioralMediumModel answer
    Pitch Your Background for a Generative Speech and Multimodal Team

    Deliver a concise spoken introduction that highlights your relevant projects, personal ownership, tech stack and quantified results, and ties them to a team on diffusion and speech/multimodal models.

    Behavioralself-introductioncommunicationownershipdiffusion-models
  • Dynamic ProgrammingMediumModel answer
    Left-to-Right Plus/Times Expression from a Subsequence

    Decide whether a subsequence of positive integers, joined by + and * and evaluated strictly left to right, can equal a target, and produce one valid expression.

    Dynamic Programmingdynamic-programmingbacktrackingpruningreverse-search
  • SQL & DataMediumModel answer
    Courier Earnings Report from a Paginated Payments Feed

    Aggregate per-courier earnings for a pay period from a paginated, time-zoned event feed, handling corrections, cancellations, and rounding, with itemized totals.

    SQL & Datapythondata-aggregationpaginationtimezones
  • BehavioralMediumModel answer
    Reflecting on Unexpected Discoveries in Engineering Projects

    Demonstrate reflective technical leadership by walking through a complex project where unexpected evidence invalidated your original assumptions and forced a pivot.

    Behavioralbehavioralleadershipproject-ownershipdecision-making
  • Data Structure DesignMediumModel answer
    Building a Slab Pool for Uniform Objects with Alignment Safety

    Design a pool allocator that carves equal-sized slots from slabs, hands them out via an intrusive free list in O(1), respects alignment, and packs 9-byte payloads sensibly.

    Data Structure Designmemory-allocatorslabfree-listalignment
  • BehavioralMediumModel answer
    Disagreement and Failure Stories: Two Behavioral Answers

    Prepare two structured stories: a substantive disagreement resolved with evidence, and a real personal mistake with remediation, lasting changes, and proof of growth.

    Behavioralbehavioralconflict-resolutionownershippostmortem
  • System DesignHardModel answer
    Designing a Multimodal Weapon Ad Moderation Pipeline

    Design a scalable multimodal machine learning system to detect and block illegal weapon ads under strict latency and high recall requirements.

    System Designsystem designmachine learningcontent moderationmultimodal
  • BehavioralMediumModel answer
    Driving a Result Across Teams You Don't Manage

    Tell a story about delivering an outcome that depended on other teams with competing priorities, covering alignment, trade-offs, momentum, measurable results and lessons learned.

    Behavioralbehavioralcross-functionalstakeholder-managementinfluence-without-authority
  • System DesignEasyModel answer
    Analyze Concurrency Hazards, Memory Coherence, and System Calls

    Answer a three-part operating systems and concurrency question covering Coffman conditions, false sharing, spinlock hazards, and kernel-mode transitions.

    System Designconcurrencyoperating-systemscachingmemory-management
  • Machine LearningHardModel answer
    Design a Globally Scalable, High-Availability Generative AI Serving Platform

    Design a production-grade infrastructure for real-time generative AI inference that supports streaming, low-latency SLOs, multi-region failover, and efficient GPU utilization.

    Machine Learningml system designgenaillm servinggpu scheduling
  • System DesignMediumModel answer
    Safely Count Regular Files in Directory Trees via Bash

    Write a robust Bash function that counts regular files across a directory tree, handling embedded newlines, spaces, leading hyphens, and traversal constraints safely.

    System Designbashlinuxshell-scriptingposix
  • BehavioralMediumModel answer
    Choosing the Slower Path: A Deliberate Near-Term Sacrifice

    Describe a decision where you knowingly passed up an immediate gain to raise your odds of lasting success, and show how you justified it, aligned others, and judged the outcome.

    Behavioralbehavioralleadershiptrade-offsstakeholder-alignment
  • System DesignHardModel answer
    Cross-Border Commerce, Real-Time Delivery Promises, and Smart Appliances

    Detailed product and technical design frameworks for international cross-border expansion, real-time promise engine architectures, and IoT hardware strategy.

    System Designproduct designe-commercesystem designsupply chain
  • BehavioralMediumModel answer
    Presenting a Past Engineering Project Under Close Questioning

    Prepare a 20-minute walkthrough of one project you led, and defend your design choices, the scale you handled, the obstacles you hit, and the toughest problem you solved.

    Behavioralbehavioralproject-deep-divesenior-engineertrade-offs
  • BehavioralMediumModel answer
    Resolving a Statistical Disagreement on Experimentation Methodology

    Navigating cross-functional conflict around data analysis, statistical assumptions, and product launch criteria.

    Behavioralbehavioralstakeholder-managementexperimentationstatistics
  • System DesignMediumModel answer
    Design a Distributed Task Scheduler and Time-Window Dashboard

    Architect a scalable background task scheduling engine and high-throughput query service for inspecting upcoming jobs across flexible dynamic time windows.

    System Designsystem-designdistributed-systemsdatabase-designpartitioning
  • Statistics & ExperimentsMediumModel answer
    Evaluating Initial vs Subsequent Video Length Differences

    Construct a paired statistical workflow, cohort design, time-trend adjustment, and SQL data extraction to analyze if a user's inaugural upload is shorter than later posts.

    Statistics & Experimentshypothesis testingpaired t-testwilcoxonconfounding
  • Statistics & ExperimentsHardModel answer
    Evaluating Causal Impact: PSM, DiD, Synthetic Controls, and DML

    Master core causal inference tools (PSM, DiD, SCM, and DML), their identification assumptions, failure modes, and modern estimation techniques for observational data.

    Statistics & Experimentscausal inferencedifference-in-differencespropensity score matchingdouble machine learning
  • BehavioralMediumModel answer
    Revisiting a Wrong Diagnosis: Debugging a Hard Production Fault

    Describe a production problem where your first diagnosis proved wrong, how evidence redirected you, the true root cause, and the safeguards you added to stop it returning.

    Behavioralbehavioraldebuggingroot-cause-analysisstar-method
  • Data Structure DesignMediumModel answer
    Dynamic Anagram Collection Tracker with Group Size Optimization

    Design a class to insert, remove, and query the largest group of anagram words in real time, exploring performance trade-offs for read and write loads.

    Data Structure Designdesign-dsstringsarrays
  • System DesignMediumModel answer
    Lazy Pipelines, Memoization, Indexes, and Safe Payment Retries

    A multi-part fundamentals question covering lazy vs eager iteration, a multi-argument cache decorator, B+ tree index trade-offs, process vs thread, and testing idempotent retries.

    System Designpythongeneratorsmemoizationb-tree-index
  • Machine LearningMediumModel answer
    LLM Inference Memory and Phase Splitting: KV Cache and PD Disaggregation

    Explain why transformer decoders cache keys and values, size that cache for a given model, and reason about running prefill and decode on separate GPU pools.

    Machine Learningllm-servingkv-cacheinferencegpu-memory