KatInterview

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

Interview Practice Problems

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

5997
Problems
2221
Auto-graded
15
Topics
270
Added today

Showing 3271–3300 of 3776 results

  • Statistics & ExperimentsHardModel answer
    Forecasting GMV for a New In-App Commerce Feature

    Build a revenue model for a proposed shopping feature, accounting for selection bias, incremental lift, and extrapolation uncertainty.

    Statistics & Experimentsexperimentationmetricscausal-inferenceforecasting
  • BehavioralHardModel answer
    Evaluating Technical Expertise and Learning Velocity

    Assess a candidate's ability to leverage existing technical knowledge and quickly build new expertise in unfamiliar problem spaces.

    Behavioralleadershiplearning-agilitycross-functionalimpact
  • BehavioralHardModel answer
    Navigating Technical Disagreements and Team Dynamics

    Demonstrate your approach to resolving professional disagreements, managing differences with leadership, and addressing interpersonal challenges within engineering teams.

    Behavioralconflict-resolutioncommunicationleadershipcollaboration
  • Machine LearningHardModel answer
    Build a text-to-image generation platform from scratch

    Design the complete ML pipeline for producing images from text prompts: data, architecture, training, safety, evaluation, and serving at scale.

    Machine Learninggenerative-modelsml-systemsinference-optimization
  • Trees & GraphsMediumModel answer
    Chain Fragment Payloads by Matching Tags

    Order tagged fragments so each fragment's ending tag matches the next fragment's starting tag, then concatenate their payloads into a single output string.

    Trees & Graphsgraphsstring-manipulationgraph-traversal
  • System DesignMediumModel answer
    Build a scalable alert delivery platform with multi-channel support

    Design an event-driven system that ingests alert events, fans out to subscribers, and delivers through push, email, SMS, and in-app channels with reliability and preferences.

    System Designdistributed-systemsmessage-queuesreliabilityapi-design
  • System DesignMediumModel answer
    Diagnosing a Latency Spike in a Distributed Ingestion Pipeline

    Walk through a systematic incident investigation: triage customer impact, correlate observability signals across service tiers, and separate root causes from cascading symptoms.

    System Designobservabilityincident-responsedistributed-systemsdebugging
  • Machine LearningHardModel answer
    Design a Short-Video Feed Ad Ranking System

    Design an end-to-end ML pipeline that selects, scores, and ranks ads in a short-video feed under strict latency, handling position bias and multiple competing objectives.

    Machine Learningads rankingmulti-task learningposition biasreal-time ML
  • BehavioralMediumModel answer
    Taking Initiative Beyond Your Role and Seeing It Through

    Demonstrate ownership by sharing two stories: one where you stepped into work nobody asked you to own, and one where you spotted a company-wide improvement and drove it to completion.

    Behavioralownershipinitiativeinfluence without authority
  • BehavioralMediumModel answer
    Narrating Career Progression and Pivotal Lessons

    Articulate your career arc through specific moments of growth, showing how challenges shaped your approach and prepared you for increasing responsibility.

    Behavioralbehavioralleadershipcommunication
  • SQL & DataMediumModel answer
    Multi-Part SQL Challenge on a Food Delivery Schema

    Write six targeted SQL queries spanning window functions, event anomalies, time-based filtering, and promo uplift analysis on a realistic food delivery dataset.

    SQL & Datawindow-functionsaggregationjoinstime-series
  • BehavioralHardModel answer
    Designing Business Logic and Evolving Public APIs

    Design extensible object-oriented backend logic and safely modify production APIs with versioning, compatibility, and rollout strategies.

    Behavioralobject-oriented-designapi-designbackward-compatibilitysoftware-engineering
  • System DesignHardModel answer
    Serialize and Restore Object Graphs Containing Cycles

    Design a cross-language JSON format and matching encoder/decoder that correctly handles circular references, shared subobjects, and hostile inputs.

    System Designserializationgraphscycle-detectionjson
  • Machine LearningMediumModel answer
    Explaining an ML Project You Built

    Present a machine learning project from problem definition through deployment, showing technical judgment, validation rigor, and awareness of real-world constraints.

    Machine Learningml-fundamentalsproject-experiencevalidationcommunication
  • Statistics & ExperimentsHardModel answer
    Comparing Engagement Between Feature Adopters and Non-Adopters

    Design an observational framework to measure whether users of a specific product feature are more engaged, while controlling for selection bias and confounding variables.

    Statistics & Experimentsexperimentationcausal-inferencemetricsobservational-study
  • BehavioralMediumModel answer
    Prioritizing Restaurant Onboarding with Limited Information

    Choose 500 restaurants from 1,000 to onboard in an unfamiliar market without metrics, address a schedule delay, and use early results to refine later work.

    Behavioralproduct-managementprioritizationexecutiondecision-making
  • BehavioralMediumModel answer
    Articulate Your Background and Navigate a Professional Challenge

    Present your experience, highlight impactful work, and walk through a substantive obstacle you overcame, demonstrating clarity, ownership, and growth.

    Behavioralcommunicationleadershipself-awarenesscareer-narrative
  • System DesignMediumModel answer
    Design a High-Throughput Notification Platform

    Build a system that ingests notification requests with sub-50ms latency, handles 10x traffic spikes, and delivers across multiple channels without overwhelming providers.

    System Designqueuesscalabilityrate-limitingdistributed-systems
  • Data Structure DesignMediumModel answer
    Finding Consecutive Duplicates in Subarrays

    Design data structures to efficiently detect sequences of identical elements in an array and answer queries about their presence in suffixes.

    Data Structure Designarray-scanningpreprocessingrange-queries
  • System DesignMediumModel answer
    Boosting Clock Speed Without a Smaller Process Node

    Explore architecture, microarchitecture, and logic techniques to increase chip performance when process technology is fixed.

    System Designcomputer-architecturehardwareperformance-optimization
  • Machine LearningMediumModel answer
    Building a Production LLM Agent with Tool Access and State

    Design a production system where an LLM agent uses external APIs to complete multi-step tasks, handling state, failures, security, and evaluation.

    Machine Learningllm-agentssystem-designproduction-mlsafety
  • BehavioralMediumModel answer
    Explain Your System: Architecture, Trade-offs, and Results

    Draw your project's architecture, defend major design choices with alternatives and trade-offs, and describe measurable business outcomes with your role.

    Behavioralarchitecturesystem-designleadershipproject-ownership
  • Statistics & ExperimentsMediumModel answer
    Are Two Regional User Populations Statistically Different?

    Design a rigorous statistical pipeline to test whether users from two geographic regions differ across a multivariate set of continuous behavioral features.

    Statistics & Experimentshypothesis-testingmultivariate-analysiseffect-size
  • System DesignHardModel answer
    Building a Task Scheduler for Millions of Jobs

    Design a system that persists and triggers jobs at specified times, handling millions of scheduled tasks and thousands of executions per second.

    System Designdistributed-systemsscalabilityfault-tolerance
  • BehavioralMediumModel answer
    Project Deep Dive: Decisions, Trade-offs, and Cross-Team Work

    Walk through a project you're proud of, defend your technical choices under scrutiny, reflect honestly on hindsight, and explain how you navigated PM and cross-team dynamics.

    Behavioralproject deep divetechnical decisionscross-functional collaborationtrade-offs
  • System DesignMediumModel answer
    Building a Global Rate Limiting System

    Design a low-latency rate limiting system that enforces usage quotas across distributed API gateways while maintaining availability and handling failures gracefully.

    System Designdistributed-systemsrate-limitingscalabilityredis
  • BehavioralHardModel answer
    Building a Retention Initiative from Scratch

    Plan and execute a data-driven retention project from an ambiguous directive through launch, including metrics, discovery, stakeholder management, and trade-offs.

    Behavioralleadershipproduct-managementcross-functionalmetrics
  • Statistics & ExperimentsMediumModel answer
    Crack Five Number Sequences Under Time Pressure

    Identify the rule behind five numeric sequences and find the missing term, using pattern recognition across arithmetic, geometric, prime, and cyclic transformations.

    Statistics & Experimentspattern recognitionnumber theoryquantitative reasoning
  • BehavioralEasyModel answer
    Quality Assurance: Feature Testing Strategy and Test Reliability

    Design a comprehensive testing approach for a new feature, then address how to maintain a reliable automated test suite by eliminating flaky tests.

    Behavioralquality-assurancetestingtest-automationsoftware-engineering
  • Statistics & ExperimentsHardModel answer
    Decompose Test MSE into Bias², Variance, and Noise

    Derive and numerically compute the bias-variance decomposition of MSE for a concrete estimator, then reason about model selection trade-offs.

    Statistics & Experimentsstatisticsbias-variance tradeoffMSEmodel selection