KatInterview

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

System Design Interview Problems

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

5974
Problems
2212
Auto-graded
15
Topics
269
Added today

Showing 991–1020 of 1132 results

  • 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
  • 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
  • System DesignMediumModel answer
    Build a scalable alert delivery platform with multi-channel support

    Design an event-driven system that ingests alert events, fans out to subscribers, and delivers through push, email, SMS, and in-app channels with reliability and preferences.

    System Designdistributed-systemsmessage-queuesreliabilityapi-design
  • System DesignMediumModel answer
    Diagnosing a Latency Spike in a Distributed Ingestion Pipeline

    Walk through a systematic incident investigation: triage customer impact, correlate observability signals across service tiers, and separate root causes from cascading symptoms.

    System Designobservabilityincident-responsedistributed-systemsdebugging
  • System DesignHardModel answer
    Serialize and Restore Object Graphs Containing Cycles

    Design a cross-language JSON format and matching encoder/decoder that correctly handles circular references, shared subobjects, and hostile inputs.

    System Designserializationgraphscycle-detectionjson
  • System DesignMediumModel answer
    Design a High-Throughput Notification Platform

    Build a system that ingests notification requests with sub-50ms latency, handles 10x traffic spikes, and delivers across multiple channels without overwhelming providers.

    System Designqueuesscalabilityrate-limitingdistributed-systems
  • System DesignMediumModel answer
    Boosting Clock Speed Without a Smaller Process Node

    Explore architecture, microarchitecture, and logic techniques to increase chip performance when process technology is fixed.

    System Designcomputer-architecturehardwareperformance-optimization
  • System DesignHardModel answer
    Building a Task Scheduler for Millions of Jobs

    Design a system that persists and triggers jobs at specified times, handling millions of scheduled tasks and thousands of executions per second.

    System Designdistributed-systemsscalabilityfault-tolerance
  • System DesignMediumModel answer
    Building a Global Rate Limiting System

    Design a low-latency rate limiting system that enforces usage quotas across distributed API gateways while maintaining availability and handling failures gracefully.

    System Designdistributed-systemsrate-limitingscalabilityredis
  • System DesignMediumModel answer
    Backend Architecture for a Live Fundraising Platform

    Design a scalable donation system handling 5k writes/sec with payment idempotency, real-time aggregation, and strict financial consistency.

    System Designpaymentsidempotencyreal-timefinancial-systems
  • System DesignMediumModel answer
    Promise Concurrency Combinators: all, any, allSettled

    Compare how Promise.all, Promise.any, and Promise.allSettled settle, handle failures, and order results, then pick the right one for three real service-orchestration scenarios.

    System Designjavascriptpromisesconcurrencyasync
  • System DesignHardModel answer
    Build a Remote Development Workspace Platform

    Architect a service that provisions isolated development environments accessible via SSH, with persistent storage, scheduled automation, and fault tolerance.

    System Designdistributed-systemsinfrastructuresecuritystorage
  • System DesignHardModel answer
    Eliminate Duplicates in a Personalized Content Feed

    Design a system that ensures each piece of content appears only once in the initial screen of a personalized homepage with multiple thematic rows.

    System Designdeduplicationpersonalizationrecommendation-systemscaching
  • System DesignHardModel answer
    Building a Two-Phase Transaction Processing Platform

    Design a service that processes both instant payments and deferred-settlement transactions with reserved funds, ensuring correctness under failures.

    System Designpaymentsdistributed-systemsconsistencystate-machines
  • System DesignHardModel answer
    Design a Fault-Tolerant Orchestration Engine for ML Pipelines

    Design a multi-tenant ML workflow scheduler that handles versioned DAGs, heterogeneous compute routing, data quality enforcement, and reproducible lineage tracking.

    System Designsystem-designmachine-learningdistributed-systemsorchestration
  • System DesignMediumModel answer
    Design a Photo-Sharing Platform with Social Feed and Discovery

    Build a scalable backend for uploading images, following users, generating personalized feeds, and suggesting new connections to follow.

    System Designdistributed-systemssocial-networksfeed-generationrecommendations
  • System DesignMediumModel answer
    Real-Time Fleet Data Platform Architecture

    Design a platform to monitor live telemetry from electric vehicles, covering data collection, ingestion, storage, APIs, and operational controls.

    System Designreal-time-systemsdata-ingestionAPI-designIoT
  • System DesignHardModel answer
    Troubleshooting Production Performance in a Microservices Platform

    Debug and resolve a microservices system suffering from elevated latency, errors, and scaling instability using observability data and incident response.

    System Designkubernetesobservabilityincident-responseperformance
  • System DesignMediumModel answer
    Real-Time Chat Delivery for Live Broadcasts

    Design a low-latency comment system that fans out viewer messages to millions of concurrent watchers during a live video stream.

    System Designreal-timepub-subwebsocketsfanout
  • System DesignMediumModel answer
    Building a Large-Scale Internet Page Fetcher

    Design an architecture to retrieve and store billions of web pages while respecting site policies and handling failures gracefully.

    System Designdistributed-systemsscalabilityfault-tolerance
  • System DesignMediumModel answer
    Building a Fault-Tolerant Aggregation Layer for Mobile App Startup

    Design an API that combines data from multiple backend services into one response, handling failures gracefully when services are down or slow.

    System Designmicroservicesfault-toleranceapi-designorchestration
  • System DesignMediumModel answer
    Handling Partial Failure in a Payment Service Method

    Analyze a Java method that charges a payment provider then writes to a database, identifying failure scenarios and proposing fixes for consistency.

    System Designdistributed-systemsidempotencyerror-handling
  • System DesignHardModel answer
    Fleet Command Dispatch and Telemetry Reconciliation at Scale

    Design a durable, idempotent command pipeline and telemetry reconciliation engine for five million intermittently connected edge devices.

    System Designdistributed-systemsedge-computingidempotencytelemetry
  • System DesignMediumModel answer
    Sizing a Credit-Line Expansion: P&L and Experiment Design

    Model the incremental profit of raising credit limits for a customer segment, then design an experiment to validate the decision before a full rollout.

    System Designunit-economicscredit-riskexperiment-designproduct-analytics
  • System DesignMediumModel answer
    Build a GPU-Based Model Serving System

    Design a service that exposes a trained ML model over an API, routes requests to GPU workers, and maximizes hardware utilization.

    System Designmachine-learningdistributed-systemsapi-design
  • System DesignMediumModel answer
    Building a Transaction Dispute Resolution System

    Design a backend system to manage the complete lifecycle of payment disputes in an e-commerce marketplace, including evidence handling, deadline management, and financial settlements.

    System Designdistributed-systemsfinancial-systemsstate-machinesconsistency
  • System DesignMediumModel answer
    Build a Pipeline to Ingest and Process Video Conference Recordings

    Design a system that automatically captures video conference recordings from a third-party platform, transforms them into transcripts and analytics, and serves results reliably at scale.

    System Designdistributed-systemsdata-pipelinerate-limitingidempotency
  • System DesignHardModel answer
    Design a High-Throughput Event Aggregation System

    Build a distributed system for counting events by user, device, and region with real-time aggregation, deduplication, and time-windowed queries.

    System Designdistributed-systemsstream-processingscalabilitydata-aggregation
  • System DesignMediumModel answer
    Profiling and Optimizing GPU Workload Performance

    Identify bottlenecks in a GPU application using profiling tools, then select and validate a parallelization approach to improve end-to-end performance.

    System Designgpuperformanceprofilingparallelization
  • System DesignMediumModel answer
    Caching vs. Index Optimization for High-Traffic Services

    Evaluate when to add an in-memory cache versus tuning database indexes for a high-throughput service experiencing read latency spikes.

    System Designcachingdatabasesperformancearchitecture