KatInterview

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

Interview Practice Problems

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

6013
Problems
2228
Auto-graded
15
Topics
273
Added today

Showing 2971–3000 of 3785 results

  • Statistics & ExperimentsMediumModel answer
    Should You Greenlight Another Season or Invest in New Content?

    Design an incremental ROI framework, a cannibalization adjustment, and a causal experiment to decide whether renewing a streaming series is worth the budget.

    Statistics & Experimentsexperimentationcausal-inferenceproduct-analyticsROI
  • System DesignMediumModel answer
    Chunked Upload Pipeline with Async Processing

    Design a system that handles large file uploads with resumability, processes them through async validation and transformation stages, and notifies users of completion.

    System Designdistributed-systemsasync-processingfile-uploadscalability
  • Data Structure DesignMediumModel answer
    React Grid with Formula Dependencies and Virtual Rendering

    Build a React component that displays a large editable grid, evaluates cell formulas with references, detects cycles, and renders only visible rows.

    Data Structure Designreactvirtualizationmemoizationdependency-graph
  • BehavioralHardModel answer
    Justify a Hard Technical Trade-Off From Your Own Work

    Walk through a real design decision where you weighed competing constraints, explain what you gave up and why, and reflect honestly on what you'd do differently today.

    Behavioraltrade-offssystem designtechnical leadershipdecision making
  • BehavioralMediumModel answer
    Articulate Motivation and Fit for a Mission-Driven Company

    Demonstrate authentic alignment with an organization's mission, values, and challenges through personal narrative and concrete technical contributions.

    Behavioralmotivationvalues-alignmentstorytelling
  • Machine LearningHardModel answer
    Building an Intelligent Technical Support Agent with RAG and RL

    Design a multi-turn AI support agent that retrieves documentation, reasons about queries, and optimizes conversation strategy using retrieval systems and RL.

    Machine Learningnlpreinforcement-learningragllm-agents
  • System DesignMediumModel answer
    Concurrency, Struct Layout, Polymorphism, and Idempotency Explained

    Answer four core software engineering questions covering thread synchronization, memory padding, OOP polymorphism, and idempotent operations.

    System Designconcurrencymemory-layoutobject-oriented-programmingdistributed-systems
  • System DesignEasyModel answer
    Design a Dispute Record Ingestion and Daily Batch Export System

    Design a system that reliably ingests high-volume dispute events from external networks and exports a daily batch file to a downstream accounting system.

    System Designdistributed-systemsdata-pipelineidempotencybatch-export
  • System DesignHardModel answer
    Architecting a High-Throughput Hotel Reservation Platform

    Design a backend system handling 100k reads/sec and 10k booking attempts/sec with sub-200ms latency, preventing double-bookings under viral traffic spikes.

    System Designdistributed-systemsconcurrencyscalabilityconsistency
  • SQL & DataMediumModel answer
    SQL Net Revenue Rankings and Transaction Data Quality Checks

    Write SQL queries to rank vendors by net revenue globally and by city/state, then design and implement data quality checks on a transaction table.

    SQL & Datasqlwindow-functionsdata-qualityaggregation
  • BehavioralMediumModel answer
    Four Behavioral Stories with Deep Follow-up Pressure

    Prepare and deliver four distinct STAR stories covering customer impact, ownership, a missed deadline, and hard feedback — each built to survive 10 minutes of probing.

    BehavioralleadershipSTARstakeholder managementself-awareness
  • Data Structure DesignHardModel answer
    O(1) Insert, Delete, and Fair Random Draw from a Live Set

    Design a data structure that supports adding, removing, and uniformly sampling integer values, all in average O(1) time with no duplicates.

    Data Structure Designhash maparrayrandomizationdata structure design
  • System DesignMediumModel answer
    Design a Blob Storage Service with Buckets and Keys

    Design a scalable service where clients store, retrieve, list, and delete binary objects addressed by key inside named buckets.

    System Designstoragedistributed-systemsreplication
  • Machine LearningMediumModel answer
    Regularization Penalties, Regression Basics, and Classification Metrics

    Define precision and recall, compare L0/L1/L2/L∞ penalties, state linear regression assumptions, and contrast linear with logistic regression.

    Machine Learningregularizationclassification-metricsregressionlogistic-regression
  • Machine LearningHardModel answer
    Build and Serve a Domain-Adapted LLM Without Hallucinating

    Design, fine-tune, and operate a Transformer-based LLM on a specialized corpus while preserving general capabilities and controlling hallucinations in production.

    Machine Learningtransformersllmfine-tuninghallucination
  • System DesignMediumModel answer
    Build a time-series monitoring platform with alerts

    Design an observability system that ingests high-volume metrics, supports real-time dashboards and historical analysis, and evaluates alerting rules.

    System Designtime-seriesobservabilitystreamingdata-modeling
  • System DesignMediumModel answer
    GPU Matrix Transpose: From Strided to Coalesced Memory Access

    Explain why a naive GPU matrix transpose causes uncoalesced memory traffic, then design a tiled shared-memory kernel that achieves coalesced reads and writes.

    System DesignGPUmemory-coalescingparallel-computingshared-memory
  • SQL & DataMediumModel answer
    Freight Analytics: Top States, Daily Rates, and Running Totals

    Join three logistics tables to rank states by completed jobs, compute daily average rates, and build a running cumulative count using window functions.

    SQL & Datawindow-functionsaggregationjoinscte
  • BehavioralMediumModel answer
    Structuring behavioral stories for leadership competencies

    Prepare concise, data-driven examples demonstrating decision-making, conflict resolution, feedback, and ownership using a four-part narrative framework.

    Behavioralleadershipdecision-makingcommunication
  • Machine LearningHardModel answer
    End-to-End Pipeline for Penalized Linear Regression

    Build a complete scikit-learn pipeline with preprocessing, regularization, proper validation, and interpretation for predicting marketing signups.

    Machine Learningregressionregularizationcross-validationfeature-engineering
  • Data Structure DesignMediumModel answer
    Job Scheduler with Dependency Resolution

    Build a thread-safe scheduler that accepts jobs with dependencies, identifies runnable jobs, and tracks state transitions through success and failure.

    Data Structure Designstate-machinedependency-graphconcurrencysystem-design
  • BehavioralEasyModel answer
    Introduce Yourself and Make the Case for the Role

    Structure a compelling self-introduction and motivation pitch tailored to a product manager role in consumer gaming.

    Behavioralself-introductionmotivationcareer narrative
  • Machine LearningMediumModel answer
    Design a Documentation Q&A System Using LLM APIs

    Build a retrieval-augmented generation system that answers developer questions from internal documentation using embeddings and language model APIs.

    Machine Learningretrieval-augmented-generationembeddingsllm-orchestrationvector-search
  • Machine LearningEasyModel answer
    Decision Trees: Splits, Hyperparameters, and Ensembles

    Explain how decision trees partition data, how splits are scored for classification vs regression, how hyperparameters control overfitting, and how ensemble methods improve on a single tree.

    Machine Learningdecision-treesrandom-forestgradient-boostingbias-variance
  • BehavioralMediumModel answer
    Leading Through Influence: A Cross-Team Challenge Story

    Demonstrate emergent leadership, collaboration, and measurable impact through a concrete story about driving results without relying on formal authority.

    Behavioralleadershipcollaborationinfluence-without-authoritySTAR
  • System DesignHardModel answer
    Design a Global Photo and Video Hosting Platform

    Architect a system that stores, processes, and serves user-generated photos and short videos at planetary scale with strong durability, low latency, and controlled cost.

    System Designobject-storageCDNmedia-processingdistributed-systems
  • SQL & DataMediumModel answer
    Compute Daily Conversion and User Order History with Deduplication

    Write SQL to calculate daily conversion metrics and per-user order summaries over a week, handling event deduplication and missing days.

    SQL & Datawindow-functionsaggregationdeduplicationdate-ranges
  • BehavioralMediumModel answer
    On-Call Incident Response: Severity Judgment and Change Correlation

    Walk through a production incident where you assessed severity, coordinated teams, and linked runtime signals to a recent deployment or feature flag to cut time to resolution.

    Behavioralincident-responseon-callescalationobservability
  • BehavioralEasyModel answer
    Working Effectively with Distributed and Remote Teams

    Discuss strategies for collaborating with teammates in different time zones and remote workers, then share a concrete example of successful collaboration.

    Behavioralcollaborationremote-workcommunicationdistributed-teams
  • Data Structure DesignMediumModel answer
    Design a Formula Engine with Cycle Detection

    Build a computation system where cells hold values or formulas referencing other cells, detecting circular dependencies before they corrupt state.

    Data Structure Designgraphstopological-sortcycle-detection