KatInterview

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

Interview Practice Problems

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

5981
Problems
2215
Auto-graded
15
Topics
272
Added today

Showing 3511–3540 of 3766 results

  • Machine LearningMediumModel answer
    Build a Multimodal Content Moderation Pipeline

    Design an ML system to classify and filter harmful user-generated content across text, images, and video at high throughput with strict latency constraints.

    Machine Learningml-system-designmultimodalcontent-moderationproduction-ml
  • System DesignMediumModel answer
    Design a Time-Series Metrics Collection and Alerting Platform

    Build a system that ingests numeric measurements from distributed services, persists them efficiently, powers query dashboards, and triggers alerts.

    System Designtime-seriesdistributed-systemsdata-modelingstorage
  • Machine LearningHardModel answer
    Real-Time Transaction Fraud Scoring System

    Design a complete ML pipeline to classify payment fraud in under 100ms, addressing delayed labels, streaming features, class imbalance, and cost-aware decisions.

    Machine Learningfraud-detectionreal-time-mlimbalanced-classificationfeature-engineering
  • Machine LearningMediumModel answer
    Designing a Fair Real Estate Valuation System

    Design an ML pipeline to predict residential property values for mortgage lending, addressing bias, temporal validation, and regulatory requirements.

    Machine Learningfairnessregressionfeature-engineeringmodel-validation
  • System DesignMediumModel answer
    Multi-Domain Web Hosting on a Single IP Address

    Design a solution to serve three independent websites with separate domain names from one server with a single public IP address.

    System Designnetworkingweb-infrastructurednstls
  • Machine LearningHardModel answer
    Building a Binary Classifier for Clinical Risk Prediction

    Design and implement a complete machine learning pipeline to predict a binary medical outcome from tabular patient data.

    Machine Learningclassificationfeature-engineeringhealthcaremodel-evaluation
  • BehavioralMediumModel answer
    Navigating Technical Disagreements with Colleagues

    Demonstrate how you handle technical conflicts with peers or managers while maintaining relationships and driving project success.

    Behavioralleadershipcollaborationconflict-resolution
  • System DesignMediumModel answer
    End-to-End Flow: What Happens When a Shell Runs a Command

    Trace every layer from keypress to process exit when a shell executes a directory-listing command, covering process creation, syscalls, and filesystem interactions.

    System Designlinuxoperating-systemssyscallsfilesystem
  • Data Structure DesignMediumModel answer
    Ad Targeting Engine and Route Optimization

    Build an ad matcher with inverted indexes and a delivery router using shortest-path precomputation plus TSP heuristics.

    Data Structure Designindexinggraphsoptimizationtrade-offs
  • Machine LearningMediumModel answer
    PCA, Normalization, and Logistic Regression Fundamentals

    Explain dimensionality reduction, preprocessing choices, backpropagation mechanics, threshold tuning, and domain-constrained modeling in a classification context.

    Machine Learningdimensionality-reductionpreprocessingoptimizationclassification
  • Statistics & ExperimentsMediumModel answer
    Designing Metrics and Experiments for a Messaging Feature Launch

    Define success metrics, guardrails, and an experimental framework to evaluate whether a new messaging product achieves its goals.

    Statistics & Experimentsexperimentationmetricsproduct-analyticsa-b-testing
  • System DesignHardModel answer
    Backend Design for Employee Records and Payroll Audit System

    Build a backend architecture for managing employee data and payroll changes with strong audit trails, concurrency safety, and regional customization support.

    System Designdatabasesconcurrencyapi-designdata-modeling
  • System DesignMediumModel answer
    Client-Side Filtering and Sorting with Async Data

    Design a frontend component that fetches paginated data, applies client-side search and sort, and handles race conditions efficiently.

    System Designreactfrontend-architecturestate-management
  • System DesignMediumModel answer
    Building a Resilient Payment Processing Service

    Design a payment calculation service that maintains SLAs during dependency failures and choose appropriate storage for financial data correctness.

    System Designreliabilitystorage-architecturepaymentssla
  • BehavioralMediumModel answer
    Learning From Interview Feedback

    Describe how you extract lessons from interview experiences, adjust your approach mid-process, and build a measurable plan to address identified weaknesses.

    Behavioralself-awarenesscommunicationgrowth-mindset
  • Data Structure DesignMediumModel answer
    Build a Thread-Safe In-Memory Cache with TTL Expiry

    Design and implement a concurrent key-value store that supports optional per-entry expiration, lazy eviction, and background memory reclamation.

    Data Structure Designconcurrencyttlheapeviction
  • Data Structure DesignMediumModel answer
    Design a Fluent Query Builder with Chaining and Join Support

    Build a Python query builder that chains table, select, where, alias, and join methods, rendering to SQL strings that match an exact expected format.

    Data Structure Designapi-designfluent-interfacesql-generation
  • Data Structure DesignMediumModel answer
    Rate Limiter with Continuous Drainage Pattern

    Build a request throttler that drains at a fixed rate, accepting requests only when space exists, first single-threaded then thread-safe.

    Data Structure Designrate-limitingconcurrencytime-based-statetesting
  • Statistics & ExperimentsHardModel answer
    Computing Probabilities for Dice Sums with Dependent Outcomes

    Determine the probability that two six-sided dice total seven, first under independence, then when the second die's distribution depends on the first roll.

    Statistics & Experimentsprobabilityconditional-probabilitydiscrete-distributions
  • Statistics & ExperimentsHardModel answer
    Design and Evaluate Courier Incentive Programs with A/B Testing

    Design metrics, experiments, and causal reasoning to assess three driver-side programs in a two-sided delivery marketplace before deciding whether to launch them.

    Statistics & Experimentsa/b testingexperimentationmetric designmarketplace
  • Statistics & ExperimentsMediumModel answer
    Investigate a Sharp Drop in Marketplace Delivery Volume

    Diagnose an 18% single-day decline in completed deliveries using structured funnel analysis, hypothesis testing, and merchant impact quantification.

    Statistics & Experimentsroot-cause-analysisfunnel-decompositionmetric-debugging
  • StringsMediumModel answer
    Generator-Based Parser for Structured Log Streams

    Build a memory-efficient Python generator that parses log records with timestamps and key-value pairs, handling quoted strings with escapes.

    Stringsparsinggeneratorsstring-processingtext-processing
  • System DesignMediumModel answer
    Design a Real-Time Social Activity Feed

    Design a scalable system that delivers a personalized, real-time activity feed to millions of users with low latency and high throughput.

    System Designsystem designreal-timefeedsfan-out
  • Heaps, Sorting & SearchMediumModel answer
    Budget-Constrained Selection and Graph Distance Query

    Find how many sorted items fit within a budget using prefix sums and binary search, then parse a graph and compute the shortest path between two nodes.

    Heaps, Sorting & Searchbinary-searchdijkstraprefix-sumshortest-path
  • Machine LearningHardModel answer
    Design and Analyze a Counterfactual Online Experiment for a Ranking Model

    Design an online experiment to measure the causal impact of a new ML ranking model, handling interference, novelty effects, and metric trade-offs at scale.

    Machine Learningmachine learningexperimentationrankingcausal inference
  • BehavioralMediumModel answer
    Demonstrating Technical Depth in Project and Experience Interviews

    Structure compelling answers about personal projects, internships, and career goals that show ownership, technical judgment, and measurable impact.

    Behavioralinterview-prepcommunicationproject-discussion
  • Statistics & ExperimentsMediumModel answer
    Measuring Trust & Safety Systems and Support Bot Performance

    Design evaluation frameworks for two scenarios: tracking a low-prevalence moderation system and assessing a support chatbot's knowledge base quality.

    Statistics & Experimentsmetricsexperimentationab-testingevaluation
  • BehavioralMediumModel answer
    Responding to Hard Feedback and Simplifying Without Understanding

    Discuss a time you received difficult criticism from your manager and a time you simplified something prematurely, focusing on learning and lasting change.

    Behavioralself-awarenessleadershiplearninggrowth-mindset
  • System DesignMediumModel answer
    Design a High-Concurrency Reservation Platform

    Build a scalable property reservation system that handles millions of searches and prevents double-booking through strong consistency guarantees.

    System Designdistributed-systemsconcurrencycachingdatabases
  • System DesignHardModel answer
    Build a Data Quality and Observability Layer for Live Pipelines

    Design an end-to-end system for validating, monitoring, and recovering from data failures across both batch and streaming pipelines in a production environment.

    System Designdata-engineeringobservabilitystreamingdata-quality