KatInterview

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

System Design Interview Problems

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

5993
Problems
2220
Auto-graded
15
Topics
269
Added today

Showing 661–690 of 1136 results

  • System DesignEasyModel answer
    Design a Real-Time Guild Chat Platform with Durable History

    Design backend infrastructure for a Discord-like platform with servers, channels, DMs, real-time delivery, message persistence, and strict per-channel ordering at scale.

    System Designreal-timewebsocketsmessage-orderingscalability
  • System DesignMediumModel answer
    Fixing Priority Preemption in a GPU Lease Scheduler

    Diagnose why a GPU lease manager preempts the wrong tenant, rewrite victim selection to evict the weakest lease, and design regression tests.

    System Designconcurrencyschedulingdebuggingunit-testing
  • System DesignMediumModel answer
    Real-Time Multiplayer Game Backend with Move Reversal

    Architect a scalable backend for a turn-based multiplayer game supporting concurrent matches, move reversal requests, and dynamic player rankings.

    System Designreal-time systemsstateful servicesdistributed systems
  • System DesignMediumModel answer
    Dedupe a Huge Directory Tree with Tiered Hashing

    Design and code a disk-scale deduplicator that filters candidates cheaply, hashes in streams, verifies bytes, and safely hard-links duplicates.

    System Designdeduplicationhashingstreaming-iohard-links
  • System DesignMediumModel answer
    Membership Service for a Growing ID Set: Latency, Memory, Durability

    Design a check-and-insert service for ~1 million user IDs, covering data structure choice, atomic concurrency, probabilistic filters, and crash-safe on-disk storage.

    System Designbloom-filterlsm-treeconcurrencyhashing
  • System DesignMediumModel answer
    Design a Multi-Tenant File Sync and Share Platform

    Design an enterprise file storage service covering resumable chunked uploads, metadata/blob separation, versioning, and inherited permissions.

    System Designsystem-designobject-storagededuplicationaccess-control
  • System DesignMediumModel answer
    Screenshot-to-Component: Building a Token-Driven Card with Chips

    Turn a static card-and-chip screenshot into a tokenized, accessible, responsive component and explain how you'd verify pixel fidelity.

    System Designfrontendaccessibilitydesign-tokensresponsive-layout
  • System DesignMediumModel answer
    React Internals: Rendering, Effects, Errors, and Concurrency

    Walk through how React reconciles trees, when effects run, how to contain component failures, and what concurrent mode primitives actually buy you.

    System Designreactfrontendhookserror-boundaries
  • System DesignHardModel answer
    Build a Low-Latency Autocomplete System

    Design an autocomplete service that returns ranked suggestions in under 100ms, handling scale, personalization, and freshness.

    System Designautocompletecachingrankingindexing
  • System DesignMediumModel answer
    Design a Text-to-Speech Platform: Scope It, Stress It, Extend It

    Prototype a scalable TTS service using a hosted synthesis API, then justify its trade-offs, find its first bottleneck, and plan bulk-document narration support.

    System Designtext-to-speechasync-processingapi-designcapacity-planning
  • System DesignMediumModel answer
    Access Control System With Caching and Revocation Guarantees

    Design an RBAC authorization service handling fast permission checks, role inheritance, scoped assignments, and bounded revocation delay.

    System Designrbacauthorizationcachingdistributed-systems
  • System DesignHardModel answer
    Design a Contextual Pricing Service for a High-Volume Retail Platform

    Design a pricing API that handles batch lookups, personalized context, explicit freshness guarantees, and partial failure at one million item evaluations per second.

    System Designapi-designcachingbatch-processingfault-tolerance
  • System DesignMediumModel answer
    Coordinating Hydrogen and Oxygen Threads into Complete Water Molecules

    Design a lock-based coordinator that lets exactly two hydrogen threads and one oxygen thread print as one water molecule, with no spinning, no interleaving, and no starvation.

    System Designconcurrencysynchronizationsemaphorescondition-variables
  • System DesignMediumModel answer
    Python Environments and Daily Linux Workflow

    Explain how Python virtual environments work, when to reach for Conda or Poetry over plain venv, and which Linux commands you rely on to run and debug server jobs.

    System Designpythonlinuxdeveloper-toolingenvironment-management
  • System DesignMediumModel answer
    DevOps & Kubernetes Fundamentals: CI/CD to Production Ops

    Demonstrate practical DevOps fluency across CI/CD pipelines, GitOps delivery, Kubernetes troubleshooting, containerization, and Linux diagnostics.

    System Designkubernetesci-cddevopslinux
  • System DesignMediumModel answer
    Load Balancing, Caching, and Idempotent API Design

    Design a multi-instance backend service covering routing policies, multi-layer caching strategies, and idempotent API support for non-repeatable operations like payments.

    System Designload-balancingcachingidempotencydistributed-systems
  • System DesignHardModel answer
    Design the Infrastructure Behind a Recommendation Feed

    Design the serving and storage layers for a recommendation service, covering API shape, data flow, storage schemas, caching, and how batch training coexists with live traffic.

    System Designrecommendation-systemsdistributed-systemscachingkafka
  • System DesignMediumModel answer
    Fix Summary Metrics That Ignore Active Filters

    Diagnose and fix an API endpoint where row results respect filters but the computed summary still reflects the full unfiltered dataset.

    System Designdebuggingdata-lineageapi-designtesting
  • System DesignMediumModel answer
    Hierarchical Multi-Tenant Rate Limiter Design

    Design a distributed limiter that enforces global, regional, and per-endpoint quotas at 500K RPS with sub-10ms overhead and graceful degradation.

    System Designrate-limitingdistributed-systemssystem-designredis
  • System DesignMediumModel answer
    Building a Fault-Tolerant Money Transfer Service

    Design a backend service that processes monetary transfers reliably despite retries, crashes, network failures, and ambiguous external responses.

    System Designdistributed-systemsfault-toleranceidempotencytransactions
  • System DesignHardModel answer
    Multi-File HTTP API Code Review: Methods, Payloads, and Validation

    Audit a multi-file HTTP API to find and fix an incorrect HTTP method, a payload contract mismatch, and missing input validation — then report everything within an hour.

    System Designapi-designcode-reviewinput-validationhttp
  • System DesignMediumModel answer
    Design a Cloud-Based Development Workspace Service

    Build a system that provisions on-demand containerized development environments with browser-based editing, terminal access, and port forwarding.

    System Designcloud-infrastructurecontainersstate-management
  • System DesignHardModel answer
    Building a High-Throughput Payment Processing Platform

    Design a payment platform supporting wallet transfers, card transactions, refunds, and chargebacks with strong consistency, exactly-once semantics, and audit compliance.

    System Designpaymentsdistributed-systemsconsistencyfinancial-systems
  • System DesignMediumModel answer
    Design the Backend for a Real-Time Multiplayer Board Game

    Design a backend that manages live game state, enforces turn-based rules, and delivers move updates in real time across thousands of concurrent sessions.

    System Designwebsocketsconcurrencyreal-timegame-state
  • System DesignEasyModel answer
    Streaming Text Labeling Pipeline with Retry Logic

    Build a function that reads a CSV of text records, labels each one via an external API with retries, and writes ordered JSON Lines output with per-row failure handling.

    System Designpythonconcurrencydata-pipelineerror-handling
  • System DesignMediumModel answer
    Designing an isolated notebook execution platform

    Design a multi-tenant cloud notebook platform that runs untrusted user code in isolated sandboxes and streams output, with focus on isolation, lifecycle, persistence and observability.

    System Designsystem-designsandboxingmulti-tenancystreaming
  • System DesignMediumModel answer
    Real-Time Collaborative Text Editing System Design

    Design a multi-user document editor with concurrent edits, convergence, offline reconnect, version history, permissions, and live presence.

    System Designcollaborative-editingcrdtotsystem-design
  • System DesignMediumModel answer
    Designing a Live Trivia Elimination Game with Spectator Fan-Out

    Design the backend for a live riddle battle: rooms partitioned by coordinator, server-authoritative timing, crash recovery, and spectator isolation.

    System Designsystem-designpartitioningfailure-recoverypub-sub
  • System DesignHardModel answer
    Byte-Level File Equality and Fleet-Wide Deduplication

    Design a hash-based pipeline to decide if two files hold identical bytes, then scale it to deduplicating content across many machines.

    System Designhashingdeduplicationsystem-designfile-io
  • System DesignMediumModel answer
    Build a Thread-Safe Connection Pool with Lazy Setup

    Design a lazily initialized, concurrency-safe connection pool with a wrapper class that returns connections on close, handles exhaustion via timeout, and supports clean shutdown.

    System Designconcurrencyconnection-poolthread-safetypython