KatInterview

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

Interview Practice Problems

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

6033
Problems
2234
Auto-graded
15
Topics
274
Added today

Showing 1081–1110 of 3799 results

  • System DesignMediumModel answer
    Design a Scalable Multi-Tenant Cloud Development Environment

    Architect a cloud IDE platform with hardware-level sandbox isolation, sub-100ms real-time document collaboration, and multi-tenant resource limits.

    System Designsystem-designmulti-tenancysandboxingmicrovm
  • BehavioralMediumModel answer
    Resolving a Technical Standoff With a Colleague

    Walk through a real technical disagreement with a peer over design, approach, or priorities, covering how you settled it, what was decided, and what you changed in your own behavior afterward.

    Behavioralconflict-resolutioncollaborationbehavioralstar-method
  • BehavioralMediumModel answer
    Transitioning Data Science Experience to Finance and Handling Pressure

    Learn how to present a data science background effectively for finance analytics roles, explain variance analysis, quantify business impact, and navigate high-pressure stakeholder scenarios.

    BehavioralFP&AFinance AnalyticsVariance AnalysisBehavioral Interview
  • System DesignMediumModel answer
    Build a Traffic Distributor for L4 and L7 Backend Pools

    Design a software traffic distributor that spreads L4 and L7 requests across a backend pool, with health monitoring, sticky sessions, failover, and its own horizontal scaling.

    System Designload-balancinghigh-availabilityhealth-checksconsistent-hashing
  • Machine LearningMediumModel answer
    Harden a Messy Text Ingestor and Triage a Broken ML Training Repo

    Design a fault-tolerant parser for noisy text records, hunt down three hidden bugs in a training codebase, and plan how to verify everything within a one-hour budget.

    Machine Learningdebuggingdata-parsingdata-leakagepython
  • Statistics & ExperimentsMediumModel answer
    Sampling from Below-Truncated Normal Distributions

    Identify a left-truncated normal distribution, write its probability functions, and compare sampling algorithms like inverse-CDF transform and rejection methods.

    Statistics & Experimentsstatisticsprobabilitysamplingdistributions
  • SQL & DataMediumModel answer
    Monthly Country Dashboard: Signups, Conversion, Retention, GMV, Campaign

    Write a single SQL query that builds a month-by-country report covering signups, 7-day conversion, day-7 retention, valid GMV, and last-touch top campaign, with dedup and UTC handling.

    SQL & Datasqlcohort-analysisretentionwindow-functions
  • BehavioralMediumModel answer
    Making the Case for a GPU Company Role: Fit, Impact, Culture

    Answer a recruiter screen prompt: why this accelerated-computing company and team, how your data-science work maps to the role, a 90-day plan, and an honest culture-fit assessment.

    Behavioralbehavioralhr-screenmotivationrole-fit
  • Machine LearningMediumModel answer
    Predicting a City's Temperature from Neighboring Towns

    Use OLS with an intercept on daily temperature data to summarize variability, fit per-town slopes, and select the best one, two, or five predictor towns by in-sample MSE.

    Machine Learninglinear-regressionolsfeature-selectionpandas
  • StringsMediumModel answer
    Linked-Field Payment Card Form with Live Validation

    Build a browser payment card form where the detected card network drives number formatting, length checks and security-code rules, with validation and a submit callback.

    Stringsfrontendform-validationluhninput-formatting
  • System DesignMediumModel answer
    Object-Oriented Design for a Multi-Story Parking Facility

    Design an object-oriented domain model for managing multi-story parking structures, handling real-time spot assignment, pricing strategies, and concurrency control.

    System Designobject-oriented-designdata-structure-designconcurrencysystem-design
  • Math & Bit ManipulationMediumModel answer
    Simulate 2048 Mechanics and Pack Grid into 64-Bit Integer

    Simulate grid sliding and merging rules for the game 2048, and design a bit-packing scheme to compress the 4x4 state into a single 64-bit integer.

    Math & Bit Manipulationbit-manipulationarrayssimulationmatrix
  • Machine LearningMediumModel answer
    Analyzing Deep Learning Pillars: Normalization, Optimization, and Penalties

    Evaluate how Batch Normalization, adaptive optimizers, and L1/L2 penalties impact neural network training stability, optimization dynamics, and weight sparsity.

    Machine Learningdeep-learningoptimizationregularizationbatch-norm
  • Machine LearningHardModel answer
    Predicting Station-Level Micro-Mobility Checkout Demand

    Architect an end-to-end machine learning pipeline to forecast hourly bike-sharing demand, covering censoring adjustments, spatial-temporal features, model selection, and backtesting.

    Machine Learningmachine-learningtime-seriesdemand-forecastingfeature-engineering
  • System DesignHardModel answer
    Design a Bitemporal Compliance Engine for Securities Trading

    Design a bitemporal data model and low-latency system architecture to track effective-dated trading compliance rules and dynamic security identifier resolutions.

    System Designsystem designbitemporaldata modelingfinancial systems
  • System DesignMediumModel answer
    Walking Through a Production Data Pipeline You Own

    Present one real data pipeline you built or reworked, linking requirements to design choices, rejected options, replay and backfill handling, a hard failure, and what you would change.

    System Designdata-pipelinearchitecture-tradeoffsbackfillidempotency
  • System DesignHardModel answer
    Policy Engine for Flagging Company Card Spending

    Design a multi-tenant engine that checks card transactions and whole trips against configurable policies, with auditable results and an API that can evolve without breaking clients.

    System Designsystem-designrules-enginemulti-tenantapi-design
  • Data Structure DesignMediumModel answer
    Build an In-Memory Ledger with Delayed Rewards and Account Merging

    Design an in-memory ledger that handles idempotent transfers, top-k senders, rewards posted 24 hours after a purchase, and account merging, and explain how you would test and scale it.

    Data Structure Designdesignhash-mapheapidempotency
  • Machine LearningMediumModel answer
    Architectures and PEFT for Medical Summarization

    Analyze generative model trade-offs, low-rank adaptation, and alignment techniques for domain-specific medical text summarization.

    Machine Learninggenerative-aillmfine-tuningpeft
  • System DesignMediumModel answer
    Kafka Consumer Groups: Partition Ownership and Rebalancing

    Explain how a Kafka consumer group splits partitions, handles offsets and crashes, scales with consumer count, and behaves during a rebalance.

    System Designkafkaconsumer-groupsrebalancingoffsets
  • BehavioralEasyModel answer
    Behavioral Scenarios: Navigating Friction, Deadlines, and Coaching

    Demonstrate your impact through behavioral responses covering interpersonal disagreement, high-pressure timelines, and developer coaching.

    Behavioralbehavioralleadershipconflict-resolutionproject-management
  • System DesignEasyModel answer
    Design a Structured Learning Content Service

    Design a data model, API, reordering mechanism, and publishing/caching strategy for a fixed 3-tier learning content management system.

    System Designsystem-designcachingdatabase-designconcurrency
  • BehavioralMediumModel answer
    Shipping a Frontend Feature on a Fixed Date With Vague Requirements

    A behavioral question on how you prioritize, resolve unclear requirements, protect quality and keep stakeholders informed when a frontend deadline cannot move.

    Behavioralbehavioralstar-methodprioritizationambiguity
  • Statistics & ExperimentsMediumModel answer
    Investigating Ad Traffic Volumes and User Violation Complaints

    Formulate SQL logic to identify high-violation advertisers and design an analytical strategy to explain the positive correlation between ad visits and reports.

    Statistics & Experimentssqlmetrics-designexploratory-data-analysiscausal-inference
  • Data Structure DesignMediumModel answer
    Ad Campaign Event Aggregator with Pluggable Event Types

    Design an object-oriented component that ingests ad events and returns windowed per-campaign metric sums and ratios, while letting new event types be added without editing core code.

    Data Structure Designobject-oriented-designtime-seriesprefix-sumsbinary-search
  • Statistics & ExperimentsHardModel answer
    Inconclusive A/B Test: Power, CUPED, Bayesian Rules, Sequential Looks

    An A/B test on a 60-second video change was not significant. Size the test, cut variance, decide what to do next, control multiplicity, and design a valid sequential plan.

    Statistics & Experimentsab-testingpower-analysiscupedbayesian-decision
  • Machine LearningMediumModel answer
    Building a Trustworthy Document Q&A Assistant with Retrieval and LLMs

    Design an internal question-answering assistant that retrieves enterprise documents to ground an LLM, then explain how you would measure, guard, and debug it.

    Machine Learningragretrievalllmevaluation
  • System DesignHardModel answer
    Design a Real-Time Content Feed Delivery System

    Design an in-memory topic subscription platform that handles fast ingestion, interest filtering, sliding-window rate limiting, de-duplication, and sorted feed distribution.

    System Designsystem-designdata-structuresrate-limitingpub-sub
  • System DesignMediumModel answer
    Secure Client-Direct Attachment Uploads for a Messaging Product

    Design a pipeline where clients send files straight to object storage using scoped signed URLs, with a tracked lifecycle, async scanning and processing, and cleanup of abandoned uploads.

    System Designsystem-designobject-storagepresigned-urlsmultipart-upload
  • System DesignMediumModel answer
    Building a Reliable Future-Dated Money Transfer Scheduler

    Design a service that fires transfers at a chosen future time, moves money atomically between accounts, and skips any transfer whose source balance is too low at that moment.

    System Designsystem-designschedulerpaymentsidempotency