KatInterview

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

Interview Practice Problems

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

6057
Problems
2242
Auto-graded
15
Topics
273
Added today

Showing 1501–1530 of 3815 results

  • System DesignHardModel answer
    Design a Serialized BLE Command Queue and Transport Handler

    Architect a reliable, serialized command dispatch system for Bluetooth Low Energy peripherals with response matching, timeout management, and fault tolerance.

    System Designsystem-designiosbluetoothconcurrency
  • BehavioralMediumModel answer
    Demonstrating Effective Cross-Functional Collaboration in Engineering

    Structure and present a concrete experience of collaborating across engineering, product, or operational teams using the STAR framework.

    Behavioralbehavioralleadershipcross-functionalcommunication
  • Statistics & ExperimentsMediumModel answer
    Pitfalls of P-Values in Experimentation and Better Alternatives

    Analyze key weaknesses of relying solely on p-values for launch decisions in A/B testing and provide practical, robust statistical alternatives.

    Statistics & Experimentsstatisticshypothesis-testingab-testingp-values
  • BehavioralMediumModel answer
    Leading Through Pushback and Guarding Sensitive Data

    Two behavioral scenarios: winning over a teammate who disputes your new lead role, and answering a manager's request for access to sensitive data without breaking policy.

    Behavioralbehavioralleadershipconflict-resolutiondata-governance
  • SQL & DataMediumModel answer
    Multi-Task SQL Analytics for On-Demand Logistics

    Solve multi-part SQL analytics queries covering sparse dimensions, gap-and-island sequences, conversion metrics, and latency percentiles.

    SQL & Datasqlwindow-functionsgaps-and-islandspercentiles
  • Machine LearningEasyModel answer
    Choosing Between Standardization and Min-Max Normalization

    Demonstrate how to apply standardization to one column and min-max normalization to another using scikit-learn without data leakage, and explain the theoretical trade-offs of each.

    Machine Learningpreprocessingfeature-scalingscikit-learndata-leakage
  • Statistics & ExperimentsMediumModel answer
    Analyzing and Forecasting Heavy-Tailed User Engagement Metrics

    Learn how to robustly summarize, visualize, and forecast heavy-tailed metrics such as daily share volumes using quantile methods and robust seasonal time series models.

    Statistics & Experimentstime-seriesforecastingquantilesheavy-tails
  • System DesignMediumModel answer
    Authenticating Kubernetes Workloads to External APIs Securely

    Evaluate methods for providing third-party API tokens to Kubernetes workloads, focusing on credential lifecycle, secret rotation, and workload identity.

    System Designkubernetessecuritycloud-nativeiam
  • Statistics & ExperimentsEasyModel answer
    Comparing Queue Waiting Times and Analyzing Non-Normal Distributions

    Evaluate queueing behavior under exponential service rates and analyze summary metrics for bimodal and right-skewed operational distributions.

    Statistics & Experimentsqueueing theoryprobabilitydistributionsdescriptive statistics
  • System DesignMediumModel answer
    Comparing GCC and the Clang/LLVM Toolchain for C++ Builds

    Explain how GCC and a Clang/LLVM toolchain turn C++ into machine code, how optimizers exploit undefined behavior, and how to fairly investigate differences in generated code.

    System Designcompilersc++llvmundefined-behavior
  • Machine LearningMediumModel answer
    Architecting Recommendation Engines for Item and User Cold-Start

    Design candidate generation, ranking features, and exploration policies to serve zero-history users and rank newly published content in a large-scale video streaming system.

    Machine Learningrecommendation-systemscold-startcandidate-generationranking
  • BehavioralMediumModel answer
    Fostering Individual Engineering Growth and Safeguarding Code Quality

    A two-part behavioral prompt exploring how you coach struggling peers and establish sustainable team engineering standards without creating friction.

    Behavioralcoachingmentorshipcode-qualityleadership
  • BehavioralHardModel answer
    Evaluating a Big Tech Bid for a Robot-Vacuum Maker

    Decide whether Google should buy iRobot, the maker of Roomba, by weighing strategic fit, data value, rivals, financials and regulatory risk, then commit to a recommendation.

    Behavioralproduct-strategyacquisitioncase-studygo-no-go
  • BehavioralMediumModel answer
    Two Stories: Guiding a Group and Seeing a Problem Through

    Prepare two distinct, specific stories from your own work: one where you guided others to a shared outcome, and one where you took full responsibility for a problem until it was resolved.

    Behavioralbehavioralleadershipownershipstorytelling
  • BehavioralEasyModel answer
    Owning a Slipping Deliverable and the Cost of Late Staffing

    A behavioral question on how you respond when your own task will miss its date, why adding people late often slows delivery, and how you handle work that is never completed as assigned.

    Behavioralbehavioralownershipescalationestimation
  • BehavioralEasyModel answer
    Partnering and Aligning Stakeholders as a Frontend Tech Lead

    Prepare structured, evidence-backed stories on cross-functional teamwork, resolving disagreements, balancing competing priorities, and driving change without formal authority.

    Behavioralbehavioralleadershipstakeholder-managementconflict-resolution
  • System DesignEasyModel answer
    Design a Scalable Text Paste Service (Pastebin Clone)

    Design a text sharing system that accepts raw text or code snippets and generates short, durable URLs with customizable TTLs under high read concurrency.

    System Designsystem-designdistributed-systemsapi-designdatabase-design
  • Data Structure DesignMediumModel answer
    Build an In-Memory Hierarchical File System with CRUD Support

    Design and implement an in-memory key-value store structured as a file system tree supporting create, set, get, and cascade delete operations with path validation.

    Data Structure Designdesign-dstrees-graphsstrings
  • Machine LearningHardModel answer
    Design an End-to-End Video Recommendation Platform

    Architect an end-to-end video recommendation system covering objective setting, matrix factorization baselines, multi-stage retrieval/ranking, feature engineering, and evaluation strategies.

    Machine Learningsystem-designrecommendation-systemsmatrix-factorizationmulti-stage-ranking
  • Machine LearningMediumModel answer
    Cutting Serving Cost and Latency of a Fine-Tuned Transformer Classifier

    Plan how to make a fine-tuned BERT-style text model faster and cheaper to serve, across model, runtime and request-path changes, while proving accuracy has not dropped.

    Machine Learningbertinference-optimizationquantizationdistillation
  • Data Structure DesignHardModel answer
    Per-User Rolling Quota Gate with Concurrent Access

    Design a thread-safe class that caps how many requests each user may make in any trailing time interval, avoiding the burst problem of fixed windows, with sub-linear cost per check.

    Data Structure Designrate-limitersliding-windowdequeconcurrency
  • System DesignMediumModel answer
    Cross-Venue Arbitrage Detector for a Million Quotes a Second

    Design an in-process, lock-free engine that tracks the best bid and ask across up to 16 venues for 10,000 instruments and flags crossed markets within microseconds.

    System Designlow-latencylock-freespsc-ring-buffermarket-data
  • System DesignMediumModel answer
    Debugging Non-Functional Kubernetes Pods: A Systematic Diagnostic Framework

    Outline a structured troubleshooting approach for diagnosing and resolving broken Kubernetes pods, detailing state transitions, kubectl commands, diagnostic paths, and mitigation techniques.

    System Designkubernetesdevopstroubleshootingsystem-design
  • Statistics & ExperimentsHardModel answer
    Measuring a Notification Rollout in a Social Trip-Planning App

    Pick a primary metric and guardrails for a new notification feature, then design a randomized experiment that stays valid when users' shared itineraries leak effects between groups.

    Statistics & Experimentsab-testinginterferencecluster-randomizationguardrail-metrics
  • Data Structure DesignHardModel answer
    Escalation Counters and Level Changes in a Review Pipeline

    Design a cached repeat-alert counter that triggers rejection of a work order, then extend it so an alert's severity can change without corrupting counts or past decisions.

    Data Structure Designcachingidempotencyconcurrencyversioning
  • Statistics & ExperimentsHardModel answer
    Designing and Analyzing an Ad-Scheduling A/B Experiment

    Plan and analyze an ad-scheduling A/B test. Covers randomization, CUPED, ratio metric linearization, sample sizing, multiple testing, and delayed offline conversion handling.

    Statistics & ExperimentsA/B TestingExperimental DesignCUPEDVariance Reduction
  • System DesignMediumModel answer
    Choosing Between TCP and UDP for Different Network Workloads

    Contrast TCP and UDP on connection handling, reliability, ordering, flow and congestion control, framing and overhead, then match each to workloads where its guarantees fit.

    System Designnetworkingtcpudptransport-layer
  • System DesignMediumModel answer
    Fixing Three Hidden Bugs in an Unfamiliar Vehicle-Booking API

    Debug an unfamiliar Node.js vehicle-booking backend where one user's list exposes others' vehicles, new vehicles are missing, and edits revert after refresh.

    System Designdebuggingnodejsaccess-controlpersistence
  • System DesignMediumModel answer
    Five Backend Designs: Callbacks, Geo Search, Chat, Pipelines, Payments

    Sketch five independent large-scale backends in one time-boxed session: event callbacks, nearby-place search, team messaging, a CI/CD engine, and payment processing.

    System Designsystem-designwebhooksgeospatial-indexchat
  • Math & Bit ManipulationEasyModel answer
    Timed Reasoning Quiz: Sequences, Cycles and Grammar Gaps

    Answer three short reasoning items (number sequence, repeating symbols, sentence completion) and explain a time-boxed strategy for a 50-item, 15-minute screen with no wrong-answer penalty.

    Math & Bit Manipulationaptitudepattern-recognitionmodular-arithmetictime-management