KatInterview

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

System Design Interview Problems

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

5989
Problems
2219
Auto-graded
15
Topics
271
Added today

Showing 781–810 of 1136 results

  • System DesignEasyModel answer
    Design a Distributed Web Archiver with Untrusted Workers

    Design a fault-tolerant system that crawls and versions a large wiki using one coordinator, thousands of unreliable workers, and durable blob storage.

    System Designdistributed-systemscrawlingfault-tolerance
  • System DesignHardModel answer
    Design a Short-Term Rental Platform at Scale

    Design the backend for a global property rental marketplace handling millions of listings, concurrent bookings, and sub-200ms search with zero overbooking.

    System Designdistributed-systemsconcurrencygeo-searchdatabases
  • System DesignMediumModel answer
    Resource Lifecycle and Isolation in Multi-Tenant Allocation

    Design entities, state machine, and concurrency control for a resource allocator where tenants share infrastructure but remain strictly isolated.

    System Designconcurrencymulti-tenancystate-machine
  • System DesignHardModel answer
    Build a Game-Agnostic Two-Player Match Runner

    Design a modular Python framework that can run any two-player turn-based game by swapping rule and agent implementations without touching the core loop.

    System Designobject-oriented designstrategy patternextensibilitypython
  • System DesignHardModel answer
    Build a Multi-GPU Test Harness in Python

    Design and implement a pytest-style test harness that runs graphics validation tests in parallel across multiple GPUs, handling fixtures, retries, and process isolation.

    System Designpythontestingconcurrencyasyncio
  • System DesignMediumModel answer
    Chatbot ROI Case: Value for the Bank vs. Value for Customers

    Make the case for (and against) a customer-facing bank chatbot, tying each benefit to a mechanism and metric and each risk to a mitigation.

    System Designproduct-designcase-studychatbotfintech
  • System DesignHardModel answer
    Design a Remote Cloud Development Environment Service

    Design a scalable platform that provisions on-demand remote dev machines accessible via browser, SSH, or IDE tunnel, covering lifecycle, isolation, storage, multi-tenancy, and observability.

    System Designdistributed-systemsorchestrationmulti-tenancystorage
  • System DesignHardModel answer
    Streaming, Stop Signals, and Safe Recovery in an LLM Agent Pipeline

    Design end-to-end token streaming, user-initiated cancellation, and failure recovery for a multi-turn agent system where tools may have irreversible side effects.

    System Designstreamingcancellationfault-toleranceagents
  • System DesignMediumModel answer
    Curb Password Sharing on a Streaming Platform

    Design a product and policy strategy to reduce unauthorized account sharing on a subscription streaming service without alienating legitimate paying subscribers.

    System Designproduct-strategymonetizationexperimentationstreaming
  • System DesignMediumModel answer
    Design a Distributed File Ingestion and Threat Analysis Platform

    Design an async, high-throughput system that ingests large files, fans out to multiple scan engines in isolation, and delivers a consolidated threat report.

    System Designdistributed-systemsasync-workflowssecurityobject-storage
  • System DesignMediumModel answer
    Building a Multi-Source Autocomplete System for Workplace Search

    Design the frontend and backend for a workplace search autocomplete that blends history, colleagues, files, applications, and filter chips in real time.

    System Designautocompletesearchfrontend-architecturebackend-design
  • System DesignHardModel answer
    Design a Self-Describing Columnar File Format for Time-Series Data

    Design the binary layout, writer/reader interfaces, and operational invariants for an append-friendly columnar file format suited to high-throughput time-series workloads.

    System Designfile-formatscolumnar-storageserializationcompression
  • System DesignHardModel answer
    Aggregate Node Counts Across an Unreliable Distributed Tree

    Design a fault-tolerant protocol where each node in a distributed tree contributes its subtree size upward until the root knows the total node count.

    System Designdistributed-systemsfault-toleranceconvergecastidempotency
  • System DesignHardModel answer
    Keeping Latency SLOs Alive During Traffic Spikes

    Design a layered overload protection system that sustains goodput and p99 latency targets when request volume suddenly surges beyond provisioned capacity.

    System Designload-sheddingrate-limitingadmission-controlcircuit-breakers
  • System DesignMediumModel answer
    Receding-Horizon Controller for a Sinking Drone

    Build a tick-by-tick autopilot that uses short deterministic lookahead to steer a sinking drone through a series of vertical gap obstacles.

    System Designsimulationsearchgame-aideterministic-planning
  • System DesignHardModel answer
    Build a Scalable Portfolio Optimizer with Point-in-Time Data

    Design a system that runs 30,000 portfolio optimizations in 90 minutes with strict as-of-date correctness, deterministic replay, and full audit trails.

    System Designdistributed-systemsfinancial-systemsdata-pipelines
  • System DesignHardModel answer
    Data Lifecycle Design for a Document-Grounded Chat System

    Design expiry enforcement, conversation history serving, and long-term auditing for a RAG chat platform where document and chat retention windows conflict.

    System DesignRAGdata-lifecycleretention-policyvector-store
  • System DesignMediumModel answer
    Design a Multi-Cloud GPU Fleet Manager CLI

    Design the architecture and reconciliation logic for a CLI tool that provisions and manages GPU VMs across heterogeneous cloud providers.

    System Designclistate-managementidempotencycloud
  • System DesignMediumModel answer
    Frontend System Design: Multi-Device Photo Albums

    Design the client architecture, normalized state, paginated sorted photo lists, direct-to-storage uploads, and near-real-time sync for a multi-device photo album web app.

    System Designfrontendstate-managementreal-timefile-upload
  • System DesignHardModel answer
    Design a Consent-Aware Distributed Load-Shedding System

    Design a distributed controller that sheds megawatts of electrical load across millions of smart devices within seconds while honoring user preferences, device safety rules, and fairness.

    System Designdistributed-systemsreal-timeoptimizationiot
  • System DesignMediumModel answer
    Design a Distributed Cache for High-Traffic Static Assets

    Design a globally distributed caching layer that serves small static assets at hundreds of thousands of requests per second with sub-50ms latency and resilience to origin failures.

    System Designcachingcdndistributed-systemsscalability
  • System DesignMediumModel answer
    Real-Time Top-K Noisy-Service Ranker Over a Rolling Window

    Design an end-to-end pipeline that ingests high-volume error events and serves a live ranking of the K noisiest services over the last five minutes.

    System Designstream-processingsliding-windowtop-khot-keys
  • System DesignHardModel answer
    Design a Distributed Full-Text Search Engine with Boolean Queries

    Design a scalable search system that indexes short user posts in near real-time and evaluates Boolean queries with stable cursor-based pagination.

    System Designinverted-indexdistributed-systemsquery-parsingpagination
  • System DesignHardModel answer
    Concurrency Strategies for a Shared In-Memory Key-Value Store

    Compare global, striped, and lock-free locking for a concurrent hash map, then design an optimal strategy for read-heavy workloads.

    System Designconcurrencylockingkey-value storeread-write locks
  • System DesignMediumModel answer
    Token-Bucket Rate Limiter in Node.js/Express: Build & Review

    Implement a file-configured Express middleware using the token-bucket algorithm, then explain its design trade-offs as you would in a peer code review.

    System Designrate-limitingnode.jsexpresstoken-bucket
  • System DesignMediumModel answer
    Stream Processing Pipeline for High-Velocity Robot Sensor Data

    Design a fault-tolerant ingestion pipeline that sustains 2 GB/s of mixed telemetry from a distributed robot fleet with zero data loss and dual real-time and batch consumers.

    System Designstreamingkafkadistributed-systemsdata-engineering
  • System DesignHardModel answer
    Design a Multi-Provider Flight Price Aggregation System

    Design a scalable service that aggregates, normalizes, and serves cheap flight offers from many providers under strict latency and cost constraints.

    System Designsystem-designcachingdistributed-systemssearch
  • System DesignMediumModel answer
    End-to-End Python Solution Workflow in a Cloud Notebook

    Walk through how you would design, implement, test, and document a Python coding exercise inside a cloud-hosted notebook environment from first principles.

    System Designpythonnotebookssoftware-designtesting
  • System DesignHardModel answer
    Design a Video Ad Insertion Platform for Streaming

    Design a low-latency, fault-tolerant ad-insertion system for a live and on-demand video platform, covering decisioning, delivery, pacing, and measurement at scale.

    System Designadsreal-time-biddingstreamingcdn
  • System DesignHardModel answer
    Design a Real-Time Click Counter and a Cross-Device File Sync Service

    Design two systems: a high-throughput ad click aggregator with idempotent deduplication, and a Dropbox-style file sync service with delta uploads and conflict resolution.

    System Designstreamingkafkaflinkfile-storage