KatInterview

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

Interview Practice Problems

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

6046
Problems
2239
Auto-graded
15
Topics
273
Added today

Showing 2461–2490 of 3807 results

  • System DesignMediumModel answer
    Designing Cross-Region Data Consistency for a Fintech Platform

    Architect a multi-region data layer for a global payments platform that balances low-latency reads, strongly consistent money movement, and graceful regional failover.

    System Designdistributed-systemsdata-replicationconsistencytransactions
  • Statistics & ExperimentsHardModel answer
    Virtual Queue Pilot: Experiment Design and Revenue Tradeoff

    Design an A/B test for a theme park virtual queue that targets shorter waits without harming revenue; address interference, power analysis, and mixed outcomes.

    Statistics & Experimentsexperimentationcausal-inferencemetricsanalytics
  • BehavioralMediumModel answer
    Simplify a Broken Process and Recover a Customer Miscommunication

    Tell two concrete stories: one where you cut real complexity from a workflow, and one where you diagnosed a communication breakdown with an external customer and fixed it.

    Behavioralleadershipcommunicationprocess-improvementstakeholder-management
  • Stacks & QueuesMediumModel answer
    Maximize Throughput in a Serial Manufacturing Pipeline

    Design and simulate a fixed-time serial pipeline to maximize completed units, given per-stage processing times, inter-stage buffer capacities, and blocking-after-service rules.

    Stacks & Queuessimulationschedulingqueuesthroughput
  • Greedy & IntervalsMediumModel answer
    Merge Active Intervals from Multiple Time-Series Sensors

    Parse sensor streams into continuous activity windows and find time ranges where all sensors are simultaneously active.

    Greedy & Intervalsintervalstime-seriesintersectiontwo-pointers
  • Machine LearningMediumModel answer
    OLS on Market Data: Reading Betas and Testing Added Features

    Fit an OLS model on financial panel data, interpret each coefficient in economic terms, and test whether each extra feature adds explanatory power.

    Machine Learninglinear-regressionstatistical-inferencefeature-selectiontime-series
  • Machine LearningMediumModel answer
    Design a Large-Scale Batch Inference Pipeline

    Design a production-grade batch inference system that runs a language model over millions of daily documents with exactly-once semantics, versioning, and operational reliability.

    Machine Learningbatch inferenceMLOpssystem designfault tolerance
  • BehavioralMediumModel answer
    Navigating a Compressed Timeline on a High-Stakes Project

    Craft a concrete, structured story showing how you prioritized, communicated, and delivered under a hard deadline without sacrificing what mattered most.

    Behavioraltime-managementprioritizationcommunicationownership
  • BehavioralEasyModel answer
    Financial Derivatives: Contracts and Rights

    Explain forward agreements and options, their structure, obligations, pricing fundamentals, and how they differ in practice.

    Behavioralfinancefundamentalsdomain-knowledge
  • BehavioralHardModel answer
    Present Your Experience and a Technical Achievement

    Articulate your career trajectory, describe a meaningful technical accomplishment with metrics, and demonstrate operational maturity through incident response.

    Behavioralcommunicationleadershipinfrastructuredatabases
  • Machine LearningMediumModel answer
    Multimodal RAG for Financial Documents and Charts

    Design a provenance-tracked hybrid retrieval system over text PDFs and chart images, with reranking, ACL/PII controls, calibrated abstention, and staged evaluation.

    Machine Learningragmultimodalretrievalhybrid-search
  • System DesignMediumModel answer
    Build a Controlled Enterprise Agent System with State and Guardrails

    Design a platform that executes agent tasks safely in enterprise environments, balancing model autonomy with workflow constraints and permission checks.

    System Designagentsplatform-architecturesecuritylatency
  • Machine LearningHardModel answer
    Ranking Property Listings When There Is No Search Query

    Design an ML ranking system for a short-term rental platform where candidates are pre-filtered and there is no free-text query to match against.

    Machine Learningrankingrecommendationpersonalizationbias
  • BehavioralHardModel answer
    Behavioral round prep: motivation, quick decisions, deadline pressure

    Practice four internship behavioral questions—why this company, why this role, a fast decision, and a deadline crunch—with STAR stories that survive deep follow-ups.

    Behavioralbehavioralstar-methodprioritizationdecision-making
  • Machine LearningHardModel answer
    Build a PII Detection System for Large-Scale Databases

    Design an ML-powered pipeline to automatically discover and classify personal information across billions of records in structured tables and unstructured text.

    Machine Learningml-system-designprivacydata-pipelinellm
  • BehavioralMediumModel answer
    Walk Me Through Your Hardest Engineering Challenge

    Describe a technically demanding project you owned, covering the core obstacle, trade-offs, your specific contributions, validation, results, and what you carried forward.

    Behavioralbehavioraltechnical depthcommunicationtrade-offs
  • Statistics & ExperimentsHardModel answer
    Designing a Cross-App Causal Experiment for a New Social Feature

    Design an end-to-end causal experiment for a new short-video feature that may shift engagement between two apps in the same product family.

    Statistics & Experimentsexperimentationcausal-inferenceOECdiff-in-diff
  • BehavioralMediumModel answer
    Handling Blockers from Senior Engineers During Time-Sensitive Work

    Describe how you've navigated situations where unresponsive senior colleagues blocked critical work, demonstrating ownership and communication skill.

    Behavioralleadershipcommunicationconflict-resolution
  • System DesignMediumModel answer
    Build a Real-Time Search Autocomplete System

    Design an autocomplete service that delivers personalized query suggestions with sub-50ms latency, handling millions of concurrent users and live trend updates.

    System Designautocompletelow-latencydistributed-systemscaching
  • System DesignMediumModel answer
    Build a Recurring Billing Engine for a Subscription Service

    Design the backend that manages subscriptions, handles recurring charges, processes plan changes mid-cycle, and retries failed payments at scale.

    System Designsubscriptionspaymentsbillingstate-machines
  • BehavioralMediumModel answer
    Walk Through a Project, Then Pitch Your Fit for the Role

    Present a technical project with real depth and ownership, then connect your background to a specific company and role using only verified facts.

    Behavioralproject walkthroughmotivationtechnical depthownership
  • SQL & DataEasyModel answer
    Keeping LEFT JOIN Intact While Picking One Shipment per Order

    Explain why moving a shipment predicate from ON to WHERE turns a LEFT JOIN into an INNER JOIN, then write a query that keeps every qualifying order and attaches only its latest expedited shipment.

    SQL & Datasqljoinswindow-functionsdata-modeling
  • Machine LearningHardModel answer
    ML System Design: Intersection Maneuver Intent Prediction

    Design an ML pipeline that classifies each vehicle at an intersection as turning left, going straight, or turning right, given a short trajectory history and optional map context.

    Machine Learningautonomous-drivingsequence-modelingsystem-design
  • Machine LearningMediumModel answer
    Build and Compare Credit Risk Models: Logistic vs Tree Ensemble

    Develop both a linear baseline and a tree-based classifier for predicting loan defaults, covering feature engineering, validation, calibration, and deployment.

    Machine Learningclassificationimbalanced-datamodel-calibrationscikit-learn
  • Machine LearningHardModel answer
    Build a Real-Time ML Prediction Service

    Design an ML inference API that serves predictions in milliseconds, handling multitenancy, model rollouts, monitoring, and graceful degradation.

    Machine Learningml-systemsinferencelatencyproduction-ml
  • BehavioralMediumModel answer
    Building Ethics and Governance Into a Model Lifecycle

    Walk through how you embed fairness, transparency, and independent oversight into every stage of model development and deployment.

    Behavioralmodel governancefairnessML ethicsregulatory compliance
  • System DesignHardModel answer
    Design a Multiplayer Game Ranking System

    Build a backend that tracks player scores, displays global and friend rankings, shows a player's position with nearby competitors, and supports multiple time periods.

    System Designleaderboardhigh-throughputcachingreal-time
  • System DesignHardModel answer
    Design a real-time group messaging platform

    Design a scalable chat platform with channels and DMs supporting millions of users, sub-200ms delivery, message ordering, presence, and cross-device history sync.

    System Designreal-time-messagingwebsocketsscalabilitypub-sub
  • System DesignMediumModel answer
    Fault-Tolerant Selenium Text Scraper for Dynamic Pages

    Write a Python function that waits for two CSS-selected elements to become visible on a JS-rendered page and returns their text, with None for any that time out.

    System Designseleniumbrowser-automationexplicit-waitspython
  • System DesignHardModel answer
    Designing an Order-Routing Platform Over Async Exchange APIs

    Design a crypto order-routing service that fronts unreliable third-party exchange APIs with async fills, exactly-once effects, spiky load, and a durable ledger.

    System Designsystem-designdistributed-systemsidempotencystate-machine