KatInterview

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

Interview Practice Problems

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

6055
Problems
2241
Auto-graded
15
Topics
272
Added today

Showing 1441–1470 of 3814 results

  • Statistics & ExperimentsHardModel answer
    Launching Peer Payments in a Chat App: Metrics, Tests, Risks

    Plan the first 90 days of a person-to-person payments feature in a chat product: pick goals and metrics, price it, run a network-safe experiment, fall back to DiD, and flag risks.

    Statistics & Experimentsexperiment-designnetwork-interferencedifference-in-differencesproduct-analytics
  • System DesignHardModel answer
    Batching Service for Autocomplete Inference with Fixed Batch Time

    Design a low-latency serving stack that groups autocomplete requests into fixed-duration accelerator batches, sizes the fleet, handles failures, and critiques the fixed-time premise.

    System Designsystem-designllm-servingbatchingcapacity-planning
  • Statistics & ExperimentsHardModel answer
    Fitting Simplex-Constrained Action Weights for a Usage Score

    Estimate non-negative, sum-to-one weights for four user actions predicting time spent, handle collinearity, quantify uncertainty, stabilize with priors, and tune Elastic Net by cross-validation.

    Statistics & Experimentsconstrained-regressionmulticollinearitybootstrapbayesian-priors
  • System DesignMediumModel answer
    Build a Scheduler and Runner Platform for Automated Test Suites

    Design a platform where teams declare automated tests, trigger or schedule them, run them on shared compute, and query status, logs, artifacts and history reliably at scale.

    System Designsystem-designdistributed-systemsschedulingci-cd
  • Data Structure DesignMediumModel answer
    Thread-Safe Recurring Task Engine

    Design and implement a concurrent background scheduler that manages recurring execution intervals, supports execution cancellation, and handles thread-safe termination.

    Data Structure Designconcurrencyheapsthreadsdesign
  • System DesignMediumModel answer
    Design an Enterprise AI Gateway for Heterogeneous Models

    Design a high-throughput, multi-tenant AI proxy layer featuring unified OpenAI-compatible routing, token-aware rate limiting, low latency overhead, and PII masking.

    System Designsystem-designai-gatewayllm-infrastructurerate-limiting
  • Math & Bit ManipulationHardModel answer
    Numbers with Double Sum-of-Squares Decompositions

    Count unique pairs of non-negative integers whose squares sum to a target value, identifying numbers with exactly two representations up to a limit N.

    Math & Bit Manipulationmath-bitsarraysmath
  • Machine LearningHardModel answer
    Architecting an End-to-End Causal Machine Learning System

    Design a production-grade causal pipeline detailing DAG specifications, doubly robust estimation, off-policy evaluation, sensitivity bounds, and constrained policy deployment.

    Machine Learningcausal-inferenceuplift-modelingdouble-robustoff-policy-evaluation
  • System DesignMediumModel answer
    Build a Fleet-Wide Log Search Platform at 100K Lines/Second

    Design a platform that collects logs from many microservices, keeps them for 30 days, and supports fast searches by service, time window, and text or regex pattern.

    System Designsystem-designlog-pipelinekafkaindexing
  • BehavioralMediumModel answer
    Presenting System Architecture and Proposing Process Improvements

    Learn how to present a technical project end-to-end and constructively discuss team process challenges and influence strategies during software engineering interviews.

    Behavioralbehavioralsystem-architectureleadershipcollaboration
  • Statistics & ExperimentsHardModel answer
    Plant-Based Menu Investment: Business Case & Pilot Design

    Evaluate a $13M plant-based menu expansion using market sizing, incremental unit economics, cannibalization risks, real option staging, and pilot experimental design.

    Statistics & Experimentsexperimentationbusiness-caseunit-economicscausal-inference
  • BehavioralMediumModel answer
    Reflecting on a Significant Professional Failure and Its Lessons

    Share a concrete work failure or disappointment, detailing your immediate accountability, how you navigated the outcome, and the structural changes you introduced as a result.

    Behavioralbehavioralleadershipfailurepost-mortem
  • Heaps, Sorting & SearchMediumModel answer
    Minimize Black-Box Unimodal Function Without Derivatives

    Find the minimum of a convex/unimodal function over continuous and discrete intervals using zero-order optimization.

    Heaps, Sorting & Searchbinary searchoptimizationunimodalgolden section
  • BehavioralMediumModel answer
    Balancing Two High-Impact Projects Under Overlapping Deadlines

    Demonstrate your approach to analyzing business risks, aligning cross-functional stakeholders, and executing when two urgent deliverables collide.

    Behavioralbehavioralprioritizationstakeholder-managementtrade-offs
  • System DesignHardModel answer
    Design a Multi-Tenant GPU Inference Engine

    Architect a scalable, low-latency API platform for serving multi-tenant deep learning workloads (including LLMs) across heterogeneous GPUs under strict latency SLOs.

    System Designsystem-designmachine-learninggpu-inferencellm-serving
  • Trees & GraphsMediumModel answer
    Evaluate Grid Path Feasibility and Identify Top K Elements

    Determine matrix path reachability under obstacle constraints and extract the k most frequent elements from an array.

    Trees & Graphstrees-graphsheaps-sortingarrays
  • System DesignEasyModel answer
    Debugging Low Bandwidth Performance in Containerized Environments

    Systematically troubleshoot degraded network throughput across container runtimes, host transport stacks, and physical network paths.

    System DesignNetworkingContainersLinuxTroubleshooting
  • Data Structure DesignMediumModel answer
    Pluggable Filter and Scoring Pipeline for Ticket Listings

    Design an extensible object-oriented engine that drops ineligible events with pluggable rules, then orders the rest by a weighted blend of scoring strategies.

    Data Structure Designobject-oriented-designstrategy-patternopen-closed-principlesorting
  • System DesignMediumModel answer
    Design a Performant Continuous Particle Blaster on iOS

    Architect an iOS animation system that emits floating emoji particles on continuous press, focusing on frame rates, layer management, timer accuracy, and unit testability.

    System DesigniOSCore AnimationConcurrencyPerformance
  • Statistics & ExperimentsMediumModel answer
    Debt vs. Ownership: Contrasting Bondholders and Common Shareholders

    Contrast what bondholders and common shareholders are owed, how their returns arise, which risks they bear, and why profitable firms may still skip common dividends.

    Statistics & Experimentsfinancebondsequitydividends
  • BehavioralMediumModel answer
    Navigating Ambiguous Tasks and Shifting Priorities in Work Simulations

    Learn how to structure behavioral answers about managing ambiguous requirements, conflicting stakeholder demands, time constraints, and risk-based decision-making with concrete examples.

    Behavioralbehavioralleadership-principlesprioritizationambiguity
  • BehavioralHardModel answer
    Walk Through a Flagship Engineering Project You Led

    Describe one significant project you drove: the starting problem, your own contributions, the real design trade-off, the safe rollout, measurable results and lessons learned.

    Behavioralbehavioralleadershipproject-deep-divetrade-offs
  • BehavioralMediumModel answer
    Describing Your Workflow With AI Agents in Research

    Explain how you use AI agents for ideation, experiments, and paper writing, and how you verify their output, where you hold back, and how you handle confidentiality and disclosure.

    Behavioralbehavioralresearchai-agentsverification
  • BehavioralMediumModel answer
    Behavioral Story: A Measured Gamble and a Foreseen Roadblock

    Prepare a behavioral answer showing a well-reasoned risk you took and a predictable obstacle you planned for, with the reasoning, safeguards, results, and lessons clearly explained.

    Behavioralbehavioralrisk-takingstar-methodleadership
  • System DesignMediumModel answer
    Design a Shared SQL Canvas with Immutable Releases and Async Runs

    Design a collaborative SQL editor featuring real-time document sync, frozen releases, and async execution tracking with strict input-output lineage.

    System Designsystem-designdata-warehousedistributed-systemsconcurrency
  • Data Structure DesignMediumModel answer
    Detect Duplicate Files Safely and Efficiently

    Design a filesystem duplicate finder that guards against infinite loops, avoids loading whole files into memory, and applies multi-stage filtering to minimize disk reads.

    Data Structure Designfilesystemhashingio-optimizationtraversal
  • System DesignMediumModel answer
    Design a Context-Aware Restaurant Recommendation Engine

    Design an end-to-end personalized restaurant discovery and search service balancing geo-constraints, low-latency ranking, real-time context, and hybrid search architectures.

    System Designsystem-designrecommendation-systemsmachine-learningsearch
  • BehavioralEasyModel answer
    Mastering the Initial Recruiter Screening for Product Roles

    Craft compelling, structured responses for an initial HR screening call for a Product Manager position, covering self-introductions, career moves, metrics, and role alignment.

    Behavioralbehavioralproduct-managementinterview-prephr-screening
  • BehavioralMediumModel answer
    Two Customer-Centric Stories: Extra Mile and Holding Standards

    Prepare two real stories: one where you went well beyond expectations to fix a customer's problem, and one where you held a quality standard despite pressure to cut corners.

    Behavioralbehavioralcustomer-focusleadershipquality
  • Machine LearningMediumModel answer
    Loss, Batch Size, Regularization and Tree Depth: ML Core Review

    Four connected ML fundamentals: why log loss suits sigmoid outputs, how batch size shapes training, how L1 and L2 differ, and how leaf size controls bias and variance in trees.

    Machine Learningcross-entropysgdregularizationdecision-trees