KatInterview

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

Interview Practice Problems

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

5987
Problems
2219
Auto-graded
15
Topics
270
Added today

Showing 3421–3450 of 3768 results

  • Statistics & ExperimentsHardModel answer
    Understanding Standardized Effect Sizes in Statistical Testing

    Explain the purpose and interpretation of standardized test statistics in hypothesis testing, their relationship to uncertainty quantification, and when they can mislead.

    Statistics & Experimentshypothesis-testingstatistical-inferencea-b-testingconfidence-intervals
  • Trees & GraphsMediumModel answer
    Recursive Disk Transfer Between Three Pegs

    Move n disks from one peg to another using a spare peg, one at a time, never placing a larger disk on a smaller one.

    Trees & Graphsrecursionalgorithm-designcomplexity-analysis
  • Data Structure DesignMediumModel answer
    Scored Catalog Rotator: Ordered Traversal with Live Updates

    Design an in-memory playlist that always serves the highest-scored unseen item per round, supports live score changes, and is safe for concurrent callers.

    Data Structure Designheaptreemapconcurrencydata-structure-design
  • Statistics & ExperimentsHardModel answer
    Diagnose a disease with a rare-subtype twist using Bayes

    Apply Bayes' theorem across two sequential test stages to find the true probability a patient has a rare disease subtype given a positive confirmatory test.

    Statistics & Experimentsconditional probabilityBayes' theoremstatisticsfalse positives
  • System DesignMediumModel answer
    Build a Link Compression Service

    Design a scalable service that converts long URLs into compact aliases and redirects users back to the original destinations.

    System Designdistributed-systemsscalabilitycachingdatabases
  • BehavioralMediumModel answer
    Behavioral Interview: Background, Ownership, and Safety Engineering

    Demonstrate judgment, ownership, and practical safety thinking through your background, impactful work, and approach to risk mitigation in AI systems.

    Behavioralbehavioralleadershipai-safety
  • Arrays & HashingMediumModel answer
    Three Algorithm Challenges: Enumeration, Backtracking, and Merging

    Solve three distinct problems: compute the k-th element in a lexicographically ordered sequence, count valid paths under geometric constraints, and merge overlapping ranges.

    Arrays & Hashingcombinatoricsbacktrackingtwo-pointersenumeration
  • System DesignMediumModel answer
    Backend Architecture for Activity Recording Platform

    Design a scalable system to capture high-frequency GPS data from mobile workout sessions, compute activity metrics, and serve historical workout information.

    System Designhigh-throughputgeospatialtime-seriesdata-modeling
  • BehavioralMediumModel answer
    Identify and fix thread-safety bugs in a market data handler

    Spot concurrency flaws, atomicity gaps, and design issues in a multi-threaded price tracking class, then refactor it to be thread-safe.

    Behavioralconcurrencycode-reviewjavathread-safety
  • Arrays & HashingMediumModel answer
    Parallel Image Pipeline Without External Libraries

    Build a CPU-based image transformation engine that chains grayscale, brightness, and resize operations across multiple images using pure Python.

    Arrays & Hashingimage-processingparallel-processingarray-manipulation
  • BehavioralMediumModel answer
    Owning Risk Beyond Your Role

    Explain a time you took ownership of a meaningful problem outside your core responsibilities, managed uncertainty with data, and delivered measurable impact.

    Behavioralleadershipownershiprisk-managementinitiative
  • System DesignHardModel answer
    Loyalty Ledger: Building a Transaction-to-Points Rewards System

    Design a service that converts card transactions to loyalty points, ensuring exactly-once processing, precise arithmetic, and safe redemptions.

    System Designdistributed-systemsledgeridempotencyconsistency
  • BehavioralHardModel answer
    Walk Me Through a Time You Navigated a Workplace Disagreement

    Recount a real professional disagreement, covering both sides fairly, how you reached a resolution, and what you did differently afterward.

    Behavioralconflict resolutioncommunicationleadershipcollaboration
  • Machine LearningMediumModel answer
    Build a Travel Time Prediction Service for Ride Applications

    Design a machine learning system that forecasts journey duration for ride-hailing trips, addressing data collection, feature design, model choice, and deployment.

    Machine Learningml-system-designproduction-mlregressionspatial-data
  • Machine LearningMediumModel answer
    Core Concepts in Machine Learning and Deep Learning

    Demonstrate understanding of fundamental ML/DL concepts through precise definitions, mathematical formulations, and practical examples.

    Machine Learningfundamentalsdeep-learningtheorymathematics
  • BehavioralMediumModel answer
    Pricing Strategy for an Early-Stage Cloud SaaS Product

    Design a multi-tier pricing model for a young cloud service, justify it with unit economics, and mitigate key business risks while planning controlled growth.

    Behavioralproduct-strategypricingunit-economics
  • BehavioralMediumModel answer
    Resolving Conflict in a Technical Partnership

    Discuss a time you repaired a deteriorating work relationship by diagnosing root causes, owning your role, and implementing process changes that made the partnership durable.

    Behavioralconflict-resolutioncollaborationcommunicationprocess-improvement
  • Machine LearningMediumModel answer
    Orchestrating Classification and Embedding Services at Scale

    Build a document processing pipeline that calls two ML services (classification and embedding) for both single-file and bulk uploads up to 1,000 files.

    Machine LearningML System DesignAPI DesignScalabilityService Orchestration
  • BehavioralMediumModel answer
    Balancing Risk Mitigation and Feature Delivery Timelines

    Discuss navigating trade-offs between technical risk and product velocity when stakeholders have competing priorities.

    Behavioralleadershiprisk-managementstakeholder-alignment
  • BehavioralMediumModel answer
    Navigate Trade-Offs Between Competing Work Values

    Explain how you choose between two valid engineering approaches when compromise fails, and demonstrate consistent decision-making across contexts.

    Behavioraltrade-offsself-awarenessdecision-makingwork-style
  • BehavioralMediumModel answer
    Walk Me Through a High-Impact Project You Owned

    Describe a project where you spotted a meaningful problem, drove the solution, and delivered measurable results.

    Behavioralownershipimpactmetricstrade-offs
  • Statistics & ExperimentsMediumModel answer
    Interpreting A/B Test Results That Reverse When Aggregated

    An experiment shows treatment winning in each segment but losing overall; diagnose the cause and determine the correct launch decision.

    Statistics & Experimentsab-testingsimpsons-paradoxexperimentationstatistical-inference
  • Math & Bit ManipulationMediumModel answer
    Classifying Circle Pair Relationships

    Determine whether two circles intersect at two points, are tangent at one point, or have no boundary contact.

    Math & Bit Manipulationgeometrydistanceedge-casesnumerical-stability
  • Machine LearningEasyModel answer
    Build a Collaborative Filtering Recommender for a Playlist App

    Design and evaluate a simple collaborative filtering system that recommends songs to users of a music playlist application.

    Machine Learningrecommendation systemscollaborative filteringmatrix factorizationevaluation metrics
  • System DesignHardModel answer
    Build a Payment Processing System for Short-Term Campaigns

    Design a scalable payment platform handling donation submissions with async processing, idempotency guarantees, and burst traffic support.

    System Designpaymentsasync-processingdistributed-systemsidempotency
  • Machine LearningHardModel answer
    Build a Production ML Training Pipeline for Time-Series Models

    Design a complete ML training system for forecasting, covering data handling, training infrastructure, serving, and monitoring with emphasis on temporal correctness.

    Machine Learningml-systemstime-seriesmlopstraining-infrastructure
  • System DesignHardModel answer
    Log-Structured Storage: Replication, Recovery, and MVCC

    Describe how log-structured databases decouple compute from storage, use quorum-based replication, achieve fast recovery, and handle multi-version concurrency control.

    System Designdistributed-systemsdatabasesstorage-enginesreplication
  • Statistics & ExperimentsMediumModel answer
    Mean vs. Median: Picking the Right Profit Summary Stat

    Decide which central tendency metric best captures per-trade profitability in a live trading system, and justify the choice given skew, outliers, and stream constraints.

    Statistics & Experimentsstatisticsprobabilitytradingoutliers
  • System DesignMediumModel answer
    Message Status Tracking in a Chat Application

    Build the infrastructure for tracking and displaying message state (sent, delivered, read) in a messaging platform serving millions of users.

    System Designdistributed-systemsreal-timescalability
  • BehavioralMediumModel answer
    Three-Part Culture Interview: Project, Failure, and AI Usage

    Answer three behavioral questions about a successful project, a failed project, and your practical use of AI tools, showing ownership, reflection, and judgment.

    Behavioralbehavioralleadershipcommunicationai-tools