KatInterview

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

Interview Practice Problems

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

6019
Problems
2229
Auto-graded
15
Topics
276
Added today

Showing 5101–5130 of 6019 results

  • BehavioralMediumModel answer
    Articulating Your Motivation for a Specific Company

    Demonstrate genuine alignment between your background and a company's technical challenges, mission, and growth environment beyond surface-level enthusiasm.

    Behavioralmotivationcompany-researchcareer-narrativeinterview-strategy
  • BehavioralMediumModel answer
    Handling a Technical Disagreement with a Peer

    Explain a real disagreement with a colleague, how you worked through it, and what the outcome taught you about collaboration.

    Behavioralconflict-resolutioncommunicationcollaboration
  • Arrays & HashingEasyAuto-graded
    Assign Each Person a Tracked ID or a Fallback Value

    Tests left-join logic and fallback lookups by requiring every person to appear with either their mapped ID or a supplied default.

    Arrays & Hashinghash-maplookupleft-join
  • Stacks & QueuesMediumAuto-graded
    Evaluate Arithmetic Expression with Operator Precedence

    Tests implementation of expression evaluation using stacks to handle operator precedence and parentheses correctly.

    Stacks & Queuesstackexpression-parsingoperator-precedence
  • Data Structure DesignMediumAuto-graded
    Compute Credit Ledger with Expiration

    Implement an in-memory ledger that manages time-limited credits with priority expiration and debt tracking.

    Data Structure Designheappriority-queuesimulation
  • Machine LearningHardModel answer
    Critique and redesign a flight delay prediction analysis

    Review a flawed delay-forecasting slide deck, fix the modeling and feature engineering, redesign two charts, and deliver an actionable ops recommendation.

    Machine Learningfeature-engineeringtime-seriesmodel-evaluationdata-leakage
  • StringsMediumAuto-graded
    Trending Tags in Time Window

    Tests filtering by time range, frequency counting with a dictionary, and sorting with multi-level tie-breaking rules.

    Stringshash-mapsortingstring-parsing
  • System DesignMediumModel answer
    Cart Hold System for High-Traffic E-Commerce

    Build a scalable service that temporarily locks inventory when users add items to their cart, prevents duplicate allocation, and releases stock automatically.

    System Designconcurrencydistributed-systemscachingdatabase-design
  • Machine LearningMediumModel answer
    Building a Query Completion Prediction System

    Design an ML system that predicts and ranks query completions in real-time as users type search terms.

    Machine Learningml-system-designrankinginformation-retrievalpersonalization
  • Data Structure DesignMediumModel answer
    Transactional Key-Value Store with Rollback Support

    Build a key-value store supporting nested transactions with set, get, delete, begin, commit, and rollback operations.

    Data Structure Designtransactionsstackstate-managementkey-value-store
  • Data Structure DesignEasyAuto-graded
    Multi-User File System with Snapshots and Account Consolidation

    Build an in-memory file storage system with per-user quotas, global file uniqueness, ranked retrieval, account merging, and atomic snapshot restore.

    Data Structure Designhash-mapsimulationdata-structure-design
  • System DesignMediumModel answer
    Memory Management, Secure Transport, and Protocol Trade-offs

    Contrast storage duration and allocation, explain TLS-based security in HTTPS, and compare reliable streams with unreliable datagrams.

    System Designfundamentalsnetworkingmemory-management
  • Arrays & HashingMediumAuto-graded
    Amusement Park Capacity Expansion: Profit & Expected Value

    Tests financial modeling with expected-value decision-making, break-even sensitivity analysis, and revenue-based fee structures across expansion scenarios.

    Arrays & Hashingexpected-valuefinancial-modelingsensitivity-analysis
  • Math & Bit ManipulationMediumAuto-graded
    Match IP Address to Network Block

    Tests bitwise operations on IPv4 addresses, CIDR prefix matching, and linear search with early termination.

    Math & Bit Manipulationbit-manipulationipv4networkinglinear-search
  • System DesignMediumModel answer
    Global Rate Limiter with Regional Distribution

    Design a rate limiting service that enforces API key quotas consistently across multiple geographic regions with low latency and partition tolerance.

    System Designdistributed-systemsrate-limitingscalability
  • BehavioralMediumModel answer
    Debugging Story: Root Cause Analysis and Prevention

    Describe a significant bug you resolved, covering investigation methodology, root cause, validation, and systemic improvements to prevent recurrence.

    Behavioraldebuggingincident-responsetechnical-communicationownership
  • System DesignMediumModel answer
    Workflow Engine with DAG Execution and Timeout-Based Refunds

    Build a workflow engine that executes order tasks as a directed acyclic graph, finalizes successful orders, and triggers refunds when timeouts occur.

    System Designdistributed-systemsworkflow-orchestrationstate-management
  • BehavioralHardModel answer
    Articulating Your "Why" for a Mission-Driven Tech Role

    Structure a compelling, evidence-backed answer to "why this company?" and "how do your values align with our mission?" in a behavioral interview.

    Behavioralmotivationmission alignmentcultural fitbehavioral
  • Data Structure DesignMediumAuto-graded
    Incremental Entropy Tracker for Categorical Streams

    Build a data structure that efficiently computes Shannon entropy after each new categorical observation arrives.

    Data Structure Designstreamingentropyincremental-computation
  • BehavioralMediumModel answer
    Nail Your Senior-Level HR Recruiter Screen

    Prepare structured, confident responses to the six questions every recruiter asks in a first-round phone screen for a senior engineering role.

    Behavioralhr-screencompensationcareer-narrativesenior-level
  • Statistics & ExperimentsHardModel answer
    Strategic Decision-Making in a Sequential Two-Target Collection Game

    Determine the optimal action sequence to maximize expected coin collection in a 100-round game with two hidden single-capacity boxes and probabilistic placement.

    Statistics & Experimentsprobabilityoptimizationmarkov-decision-processgame-theory
  • Statistics & ExperimentsMediumModel answer
    Investigate Warm-Food Failures and Decide on a Fix

    Diagnose why orders arrive cold, define measurable success, design a causal evaluation, and build a principled launch decision framework for a delivery marketplace.

    Statistics & Experimentsproduct analyticsexperimentationmetric designcausal inference
  • BehavioralMediumModel answer
    Demonstrating Learning Agility and Professional Judgment

    Articulate how you acquire unfamiliar skills, advocate for process improvements, and navigate high-stakes decisions under constraint.

    Behavioralbehavioralleadershipcommunication
  • System DesignMediumModel answer
    Designing a Multi-Restaurant Booking Platform

    Build a reservation system where users find and book tables across restaurants while preventing double-bookings under concurrent requests.

    System Designconcurrencydistributed-systemsdatabasescaching
  • BehavioralMediumModel answer
    Responding to Feedback About Communication Brevity

    Discuss a situation where you received criticism about long-winded communication, how you changed your approach, and the resulting impact.

    Behavioralcommunicationfeedbackself-improvementleadership
  • BehavioralHardModel answer
    Navigating a Technical Disagreement with a Partner Team

    Describe handling a meaningful technical or strategic conflict with a colleague or cross-functional stakeholder and how you reached a constructive resolution.

    Behavioralcollaborationconflict-resolutioncommunicationleadership
  • Math & Bit ManipulationMediumAuto-graded
    Calculate Emergency Braking Distance and Decision

    Tests understanding of kinematic equations, motion physics, and numerical reasoning to determine whether a vehicle can stop in time given speed, obstacle distance, deceleration, and reaction delay.

    Math & Bit Manipulationphysicskinematicsnumerical-reasoning
  • 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