KatInterview

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

Interview Practice Problems

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

6067
Problems
2249
Auto-graded
15
Topics
276
Added today

Showing 1681–1710 of 3818 results

  • System DesignHardModel answer
    Build a Team Chat Platform with Live Delivery and Sync

    Design a workplace chat backend covering DMs and channels, with sub-second delivery, durable acknowledged messages, per-conversation ordering, and consistent history across devices.

    System Designsystem-designwebsocketsmessagingfan-out
  • BehavioralMediumModel answer
    Settling a Design Dispute With a Teammate Using Evidence

    Walk through a real disagreement over a technical design, showing how you turned opinions into measurable criteria, reached a shared decision, and kept the working relationship strong.

    Behavioralbehavioralconflict-resolutiontechnical-decision-makingcommunication
  • System DesignMediumModel answer
    Card Payments With Tips and Nightly Batch Capture for a Café Chain

    Design a card-present payment flow for a multi-location café chain: hold at swipe, tip added later, and a scalable nightly capture per location with safe retries and reconciliation.

    System Designpaymentsidempotencybatch-processingreconciliation
  • System DesignMediumModel answer
    Deciding What Ops Work to Automate and Where to Stop

    Explain how you pick operational toil to automate, how you make automation safe in production, and how you judge when it is good enough, excellent, or not worth building.

    System Designsreautomationtoilreliability
  • Data Structure DesignHardModel answer
    Pattern Router for Sensor Topics with Placeholders and a Tail Wildcard

    Design a router that maps dot-separated topics to registered patterns with named placeholders and a trailing "**", using strict left-to-right precedence and backtracking.

    Data Structure Designtriebacktrackingroutingpattern-matching
  • System DesignMediumModel answer
    Build a Weighted Traffic Splitter for Multi-Backend Log Pipelines

    Design a scalable service that takes logs from many services and splits them across storage backends by live-adjustable percentages, surviving backend outages without losing data.

    System Designsystem-designkafkaload-balancingbackpressure
  • Statistics & ExperimentsMediumModel answer
    Four Quick Probability and Inference Problems

    Four short statistics problems: covariance of the min and max of two uniforms, why sample variance divides by n-1, z-test sample size, and a proof of the one-sided Chebyshev bound.

    Statistics & Experimentsorder-statisticscovarianceunbiased-estimationsample-size
  • System DesignEasyModel answer
    How Secure Web Connections Are Set Up and Why Captured Traffic Stays Private

    Explain how a secure web session is negotiated, how clients decide to trust a server, and why captured packets resist decryption while a trusted proxy can still read them.

    System Designtlshttpsnetworkingcryptography
  • Statistics & ExperimentsHardModel answer
    Evaluating an ML Component-Grouping Feature in a Design Tool

    Build a measurement plan for an ML feature that auto-groups design elements into reusable components, covering metrics, unit of analysis, power users, and causal lift.

    Statistics & Experimentsexperimentationmetricscausal-inferencenetwork-effects
  • BehavioralMediumModel answer
    Behavioral Prep for a Low-Latency Trading Engineering Internship

    Prepare honest, specific answers on motivation, interests, weakness and reputation for two behavioral rounds at a market-making firm's software internship.

    Behavioralbehavioralinternshipmotivationself-awareness
  • BehavioralEasyModel answer
    Judgment Calls on Confidential Data and Workplace Respect

    Three workplace scenarios on data handling and respectful conduct: pick the most and least appropriate action in each and defend the ranking with a consistent set of principles.

    Behavioralsituational-judgmentdata-confidentialityethicsworkplace-conduct
  • Machine LearningMediumModel answer
    Quality Assurance Pipeline for a Compliance-Grade RAG Assistant

    Design how to measure, gate, monitor, and debug a retrieval-augmented assistant that serves regulated, multi-tenant content, including root-cause triage of bad answers.

    Machine Learningragllm-evaluationmlopsllm-as-judge
  • System DesignMediumModel answer
    Build a Persistent Real-Time Messaging Service with Reliable Sync

    Design a text messaging service where conversations are stored durably, messages arrive live, and clients recover cleanly from disconnects, retries, and duplicate events.

    System Designsystem-designchatwebsocketsidempotency
  • BehavioralMediumModel answer
    Leaving Your Job: Articulating Your Reasons and Handling the Handover

    Answer a behavioral question about why you want to move on from your role and how you told your manager and managed the handover, without badmouthing your employer.

    Behavioralbehavioralcareer-motivationcommunicationtransition-planning
  • Statistics & ExperimentsMediumModel answer
    Choosing Charts to Communicate a Streaming Engagement Metric

    Pick one streaming engagement metric, define it precisely, and justify at least two chart types that answer different stakeholder questions while avoiding common misreadings.

    Statistics & Experimentsdata-visualizationmetric-designanalyticsstakeholder-communication
  • BehavioralMediumModel answer
    Five Behavioral Stories Every Software Engineer Should Prepare

    Build a bank of concrete stories covering disagreement, self-started improvement, persuasion, ambiguity and failure, and deliver each with clear scope, personal actions, trade-offs and results.

    Behavioralbehavioralstar-methodconflict-resolutionownership
  • BehavioralMediumModel answer
    Recruiter Phone Screen: Motivation, Skills and Pay Questions

    Prepare structured answers for a recruiter screen at a payments company: intro, differentiators, motivation, language proficiency, a hard situation, and salary expectations.

    Behavioralbehavioralrecruiter-screenstar-methodmotivation
  • BehavioralMediumModel answer
    Present Your Highest-Impact Project End to End

    Describe your most impactful past project: the problem, your role, the technical approach, success metrics, results, trade-offs, surprises and lessons learned.

    Behavioralbehavioralproject-deep-diveownershipmetrics
  • Machine LearningHardModel answer
    Why Early Layers Stop Learning: Diagnosing Tiny Gradients

    Explain why gradients can shrink as they flow backward through depth or time, how to detect it, and which fixes apply to which architectures, without confusing it with convergence.

    Machine Learningdeep-learningbackpropagationvanishing-gradientsinitialization
  • System DesignMediumModel answer
    Sizing and Securing a Deduplicating Document Vault

    Design a long-term document storage service: estimate storage with replicas, add ingestion-time deduplication, and layer encryption, key management, authorization and versioning.

    System Designcapacity-estimationdeduplicationencryptionobject-storage
  • System DesignMediumModel answer
    Real-Time Hourly Popularity Ranking at 100K Events per Second

    Design a scalable service that ingests a massive stream of view events and serves the most popular items over a rolling 60-minute window, allowing slightly approximate results.

    System Designsystem-designstreamingtop-ksliding-window
  • Statistics & ExperimentsMediumModel answer
    Experiment Plan for a Run-Loop Suggestion Feature in a Maps App

    Plan a randomized experiment for a feature that suggests running loops in a maps app: choose metrics, define who enters the analysis, pick the randomization unit, set guardrails, and size the test.

    Statistics & Experimentsab-testingexperiment-designmetricspower-analysis
  • System DesignMediumModel answer
    Per-User Impression Limits for an Ad Serving Platform

    Design a low-latency service that stops an ad platform from showing a user the same ad or campaign more than an allowed number of times per time window, across regions.

    System Designsystem-designdistributed-systemscountersredis
  • System DesignMediumModel answer
    Threshold-Crossing Price Notifications at Scale

    Design a service where users set price-level triggers on securities and get notified quickly, exactly once, through push, email or SMS, even during market-open bursts.

    System Designsystem-designevent-drivennotificationsdeduplication
  • BehavioralMediumModel answer
    Walking Through a Technical Project You Owned, End to End

    Present a project you led as a structured narrative: the problem, a real design trade-off, how you handled disagreement, and what you would change in hindsight.

    Behavioralbehavioralproject-deep-diveownershiptrade-offs
  • Statistics & ExperimentsMediumModel answer
    A/B Test Plan for a Selfie Liveness Step in Signup

    Plan an experiment for a new selfie-based liveness check in onboarding: pick metrics, choose a randomization unit that survives fraudster behavior, size the test, and handle uneven pass rates.

    Statistics & Experimentsab-testingexperiment-designpower-analysisinterference
  • System DesignMediumModel answer
    Speeding Up a Cold Storefront Page and a 10M-Row Browser Table

    Audit and cut a 5-second cold-cache load on a retail landing page, then design a browser table that can browse 10 million API records without freezing or crashing.

    System Designfrontend-performanceweb-vitalsvirtualizationpagination
  • System DesignHardModel answer
    Hardening a Duplicate-File Finder Against Real Filesystems

    Design a duplicate-file cleanup tool that survives live, messy filesystems: handle errors, races, loops, scale and hash choices, and make deletions provably safe.

    System Designfile-deduplicationfilesystemshashingconcurrency
  • Data Structure DesignMediumModel answer
    Live-Streaming Prompt Box with Incremental Reply Rendering

    Design and code a small front-end component that sends a prompt, renders a streamed reply as it arrives, blocks duplicate sends, supports cancel, and shows loading and error states.

    Data Structure Designfrontendreactstreamingasync-state
  • BehavioralMediumModel answer
    Four Behavioral Stories: Feedback, Conflict, Motivation, Failure

    Prepare structured stories on giving feedback, resolving a disagreement, explaining why you want a marketplace employer, and owning a mistake, with follow-ups on impact and lessons.

    Behavioralbehavioralstar-methodfeedbackconflict-resolution