KatInterview

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

System Design Interview Problems

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

5969
Problems
2211
Auto-graded
15
Topics
273
Added today

Showing 1081–1110 of 1131 results

  • System DesignMediumModel answer
    Multi-Region File Distribution with Tenant Isolation

    Design a scalable pipeline that replicates large immutable files from a central location to multiple per-tenant destinations with guaranteed delivery and strict isolation.

    System Designdistributed-systemsmulti-tenancydata-replicationfault-tolerance
  • System DesignMediumModel answer
    Orchestrating a Durable Multi-Step Refund Process

    Design and implement a crash-resistant orchestrator that coordinates a refund across three HTTP services with idempotency, persistence, and retry logic.

    System Designdistributed-systemsidempotencystate-machinehttp
  • System DesignHardModel answer
    Build a Global Video Platform with Resumable Upload and ABR Streaming

    Architect a scalable video platform supporting chunked uploads, distributed transcoding into adaptive bitrate formats, moderation workflows, and CDN-backed delivery.

    System Designvideo-streamingdistributed-systemscdnscalability
  • System DesignMediumModel answer
    Building a Global Music Chart Aggregation System

    Design a scalable streaming pipeline that computes country-level song popularity rankings from millions of play events with 10-minute refresh cycles.

    System Designstreamingdata-pipelineaggregationscalability
  • System DesignMediumModel answer
    Building a Fault-Tolerant Payment System with Zero Duplicates

    Design a payment platform that prevents duplicate charges through idempotency, handles gateway timeouts safely, and maintains financial correctness.

    System Designdistributed-systemspaymentsidempotencyconcurrency
  • System DesignHardModel answer
    E-commerce Catalog Update System with Asynchronous Image Processing

    Design a scalable system for merchants to update product catalogs individually or in bulk, with image validation and CDN delivery.

    System Designdistributed-systemsasync-processingconcurrencyscalability
  • System DesignMediumModel answer
    High-Throughput Counter System for Social Engagement

    Design a counting service that supports millions of concurrent engagement actions with eventual consistency and sub-50ms read latency.

    System Designdistributed-systemseventual-consistencyhigh-throughputcaching
  • System DesignMediumModel answer
    Background Job API for Hierarchical Data Replication

    Design an endpoint that replicates a multi-level data hierarchy with automatic identifier reassignment, progress tracking, and fault tolerance.

    System Designbackground-jobsdatabasesapi-design
  • System DesignHardModel answer
    Building a High-Performance In-Memory Cache

    Design a fast, thread-safe in-memory cache with automatic expiration and crash recovery capabilities.

    System Designcachingconcurrencydistributed-systems
  • System DesignMediumModel answer
    Design an Idempotent Payment Processing Service

    Design a payment service that safely retries failed transactions without double-charging customers, handling scale of ~10,000 transactions per second.

    System Designsystem designpaymentsidempotencydistributed systems
  • System DesignHardModel answer
    Building a Staleness Detection System for Job Postings

    Design a system to identify and handle outdated job listings through signal aggregation, graduated enforcement, and employer dispute resolution.

    System Designdistributed-systemsevent-processingstate-machinesreal-time-systems
  • System DesignMediumModel answer
    Design a High-Concurrency Concert Seat Reservation Platform

    Design a ticket booking system that handles millions of simultaneous users competing for limited inventory while preventing double-bookings and race conditions.

    System Designhigh-concurrencyinventory-managementdistributed-systemscaching
  • System DesignMediumModel answer
    Real-Time Multiplayer Canvas Architecture

    Build a backend and client sync strategy for a collaborative visual editor where many users edit shapes and objects simultaneously on a shared canvas.

    System Designreal-timecollaborationdistributed-systemsconcurrency
  • System DesignMediumModel answer
    Build a Scalable Streaming LLM API

    Design an API that streams LLM responses, starting simple and adding reliability, overload protection, and conversation state.

    System Designstreamingllmavailabilitybackpressure
  • System DesignMediumModel answer
    Real-Time Ad Click Deduplication System

    Design a distributed system that ingests millions of ad clicks per second, eliminates duplicate events, and provides accurate near-real-time counts.

    System Designdistributed-systemsstreamingdeduplicationhigh-throughput
  • System DesignMediumModel answer
    Minimize broadcast time for 100 GB file to 1,000 cluster nodes

    Design a fast file distribution system to deliver a 100 GB checkpoint from one origin to 1,000 workers, minimizing total transfer time.

    System Designdistributed-systemsnetworkingfile-distributionperformance
  • System DesignHardModel answer
    Shared GPU Cluster Scheduler for ML Training Jobs

    Design a multi-tenant platform that accepts ML training job submissions, schedules them fairly across a heterogeneous GPU fleet, and handles failures gracefully.

    System Designgpuschedulingdistributed-systemsfairness
  • System DesignEasyModel answer
    Identifying Weaknesses in a Simple Web Service Architecture

    Analyze a basic web application topology and recommend architectural improvements for scalability, reliability, and fault tolerance.

    System Designarchitecturescalabilityreliabilityfault-tolerance
  • System DesignMediumModel answer
    E-Commerce Catalog and Inventory Management System Design

    Build a scalable service handling product information, pricing logic, and stock management with high read throughput and strong checkout consistency.

    System Designe-commercedistributed-systemscachingdatabase-design
  • System DesignMediumModel answer
    Real-Time Multi-Vendor Price Comparison Platform

    Build a service aggregating product offers from 30+ external APIs, balancing freshness, latency, and quota limits through hybrid caching.

    System Designcachingapi-designdistributed-systemsrate-limiting
  • System DesignHardModel answer
    Design a Video Streaming Service with ABR and Cross-Device Resume

    Design a large-scale video platform supporting catalog browsing, adaptive-bitrate playback across devices, cross-device resume, and content ingestion.

    System Designstreamingvideocdntranscoding
  • System DesignHardModel answer
    Design a Time-Series Observability Platform

    Design a platform that ingests, stores, and queries millions of tagged metric streams per second with tiered retention, cardinality guardrails, and sub-second alerting.

    System Designtime-seriesmetricscardinalitystorage
  • System DesignMediumModel answer
    Backend Architecture for High-Traffic Online Retail Platform

    Design a scalable backend for an online retail platform that handles concurrent purchases, prevents overselling, and serves millions of browsing users.

    System Designscalabilitydistributed-systemsdatabasesconsistency
  • System DesignHardModel answer
    In-Memory Document-Tag Store with Thread-Safe Concurrency

    Design an in-memory library that manages documents and tags, supports multi-tag intersection queries, and handles concurrent reads and writes safely.

    System Designconcurrencyindexingapi-design
  • System DesignHardModel answer
    Building a Production CI/CD System with Custom Job Orchestration

    Design a complete continuous integration and delivery platform for a large monorepo, with emphasis on the job scheduler that coordinates pipeline execution.

    System Designci-cddistributed-systemsschedulinginfrastructure
  • System DesignMediumModel answer
    Building Access Control and Immutable Audit Systems

    Design a low-latency authorization framework and tamper-proof audit logging infrastructure for a high-throughput financial application.

    System Designauthorizationaudit-loggingdistributed-systemssecurity
  • System DesignHardModel answer
    Build a Scalable Chunk-Based Storage Deduplication System

    Design an enterprise-grade deduplication storage service handling petabyte-scale data with content-addressed chunking, distributed indexing, and safe garbage collection.

    System Designdistributed-systemsstoragescalabilitydata-integrity
  • System DesignHardModel answer
    Build a Cloud File Sync and Storage Platform

    Architect a scalable system for storing, synchronizing, and sharing files across devices with versioning, conflict resolution, and offline support.

    System Designdistributed-systemsstoragesyncconsistency
  • System DesignMediumModel answer
    Reservation Platform and High-Throughput Event Aggregation

    Build a seat reservation backend with strict consistency and a live vote counter handling millions of writes per second with eventual consistency.

    System Designconcurrencydistributed-systemsstreamingdatabases
  • System DesignHardModel answer
    Build Pipeline Engine: DAG Scheduling and Log Streaming

    Design a CI backend that ingests code events, executes dependency-ordered job graphs on worker fleets, and streams live build logs to developers.

    System Designdistributed-systemsstreamingscheduling