KatInterview

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

System Design Interview Problems

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

5978
Problems
2214
Auto-graded
15
Topics
272
Added today

Showing 181–210 of 1133 results

  • System DesignHardModel answer
    Build an AI Agent That Triages and Diagnoses Incoming Tickets

    Design an LLM-driven agent that triages tickets, gathers operational evidence, proposes a root cause and fix, and acts only within strict human-approval and safety boundaries.

    System Designllm-agentsml-system-designincident-responseretrieval
  • System DesignHardModel answer
    Dependency-Aware Boot Orchestrator for a Many-Core Host

    Design a scheduler that boots interdependent services on one multi-core machine as fast as possible, handling failures, resource limits, observability, and extension to a cluster.

    System Designschedulingdagtopological-sortconcurrency
  • System DesignMediumModel answer
    Design a Sharded Replicated Key-Value Store for 1M Ops/Sec

    Design a distributed key-value database serving 1M ops/sec over 50M records with low tail latency, five-nines availability, tunable consistency and durable acknowledged writes.

    System Designdistributed-systemskey-value-storereplicationconsistent-hashing
  • System DesignMediumModel answer
    Serving a Video Captioner on a Tight GPU Budget, Then Searching It

    Design a memory- and compute-efficient serving stack for a multimodal video captioning model, then a fast search-and-watermark pipeline for advertisers over existing captions and embeddings.

    System Designml-system-designmultimodalmodel-servingquantization
  • System DesignHardModel answer
    Metadata Store for Folders, Quotas and Largest-File Queries

    Design an in-memory hierarchical file metadata service with create, recursive delete, fast top-k largest files per directory, and nested quota enforcement, plus a multi-node scaling plan.

    System Designsystem-designtreesorted-indexquota
  • System DesignMediumModel answer
    Photo Library Backend: Safe Uploads, Dedup and Database Growth

    Design the storage backend for a photo-sharing service, covering upload consistency, instant visibility, duplicate prevention, and how to justify and scale the metadata database.

    System Designsystem-designobject-storageconsistencydeduplication
  • System DesignMediumModel answer
    Single-Active Worker Coordination with Expiring Redis Locks

    Design a way for a fleet of identical workers to pick exactly one active instance using Redis expiring keys, covering failover, fencing, pauses, clock assumptions and Redis outages.

    System Designleader-electionredisdistributed-systemsfencing-token
  • System DesignMediumModel answer
    TCP vs UDP Trade-offs and How TCP Infers Packet Loss

    Compare TCP and UDP across reliability, ordering, congestion control, setup and overhead, then explain how TCP detects loss through timers, duplicate ACKs and SACK.

    System Designnetworkingtcpudpcongestion-control
  • System DesignHardModel answer
    Global Edge Abuse-IP Filtering with Fast Rollback

    Design a worldwide edge service that scores client IPs per request, shares abuse signals between regions within seconds, and can undo bad blocklist changes in under ten seconds.

    System Designsystem-designdistributed-systemsedge-computingreplication
  • System DesignHardModel answer
    Multithreaded Shortest-Path Search for a Wheel Combination Lock

    Design a thread-parallel breadth-first search that finds the fewest moves to open a multi-wheel combination lock, covering work splitting, safe visited tracking, level ordering and trade-offs.

    System Designbfsconcurrencyparallel-algorithmsgraph-search
  • System DesignMediumModel answer
    Spring Core, Aspect-Oriented Programming, Data Access, and Security Assessment

    Evaluate key Spring concepts including ApplicationContext configuration, AOP advice selection, dependency injection, JdbcTemplate mapping, DataSource configuration, and Security authorization rules.

    System Designjavaspringspring-bootspring-security
  • System DesignHardModel answer
    Scalable Backend for a High-Traffic Book Retail Platform

    Design the backend of a book-selling website that survives flash sales, with fast search, no overselling of stock, and safe recovery when payment and inventory steps fail partway.

    System Designsystem-designe-commerceinventorysaga
  • System DesignHardModel answer
    Moving 200 TB of Media to GPUs Under a 72-Hour Deadline

    Design a plan to relocate 200 TB of images and video from a bandwidth-limited data center to a cloud GPU cluster, then feed training fast, reproducibly, and with verified integrity.

    System Designdata-pipelinedata-migrationdistributed-trainingstorage
  • System DesignHardModel answer
    Skill-Based 1v1 Pairing Backend for a Board Game Platform

    Design a scalable, fault-tolerant service that pairs two players of similar rating, loosens its criteria as waiting grows, supports cancellation, and discourages opponent dodging.

    System Designmatchmakingdistributed-systemsredispartitioning
  • System DesignMediumModel answer
    Backend Design for a Offline-Capable, Cross-Device Scheduling App

    Design the backend for a scheduling app where one user's devices stay in sync, edits work offline, and repeating events are stored and queried efficiently at 10M daily users.

    System Designsystem-designsyncconflict-resolutionrecurrence
  • System DesignMediumModel answer
    Secure Shared Analytics Service for Many Enterprise Customers

    Design a shared analytics service where enterprise customers run SQL on their own datasets with strict isolation, attribute-based access rules, tamper-evident auditing and erasure support.

    System Designmulti-tenancyabacaudit-loggingdata-lineage
  • System DesignMediumModel answer
    Architecting a Payment Gateway with Real-Time Authorization and Batch Settlement

    Design a robust payment architecture that handles real-time authorization holds, deferred batch captures, and safe retries without double-charging users.

    System Designsystem-designpayment-processingidempotencyeventual-consistency
  • System DesignMediumModel answer
    Elimination Quiz Arena: Scalable Live Game Backend Design

    Design a backend for elimination-style live quiz games with many players per room, fair timing, crash recovery mid-round, and spectator traffic kept away from gameplay.

    System Designsystem-designreal-timewebsocketssharding
  • System DesignHardModel answer
    Design a Real-Time Multiplayer Matchmaking Service

    Design a scalable, low-latency matchmaking architecture capable of handling millions of players across diverse modes while keeping matches balanced, fast, and crash-resilient.

    System Designsystem-designdistributed-systemsgaminglow-latency
  • System DesignMediumModel answer
    Backend Fundamentals: GIL, PUT vs PATCH, Cyclic GC, Lock Ordering

    Answer four backend fundamentals for a payments service: Python concurrency and the GIL, PUT/PATCH with optimistic locking, CPython garbage collection, and deadlock avoidance.

    System Designpythongilhttpoptimistic-concurrency
  • System DesignHardModel answer
    Build a Pausable GPU Workspace Platform for Research Teams

    Design a service that hands out isolated, GPU-backed Jupyter-style workspaces that can be started, paused, and resumed on any host without losing files or packages, while controlling idle GPU spend.

    System Designsystem-designgpu-schedulingpersistent-storagelifecycle-management
  • System DesignHardModel answer
    Building an Asynchronous Job Platform for LLM Requests

    Design an asynchronous backend that accepts LLM requests, queues and routes them fairly, runs them reliably, and returns results, with cost, security and SLA controls.

    System Designsystem-designllm-servingjob-queueidempotency
  • System DesignMediumModel answer
    Build a Real-Time Multi-User Document Editing Platform

    Design a platform where many people edit one document simultaneously, covering merge rules, live streaming, durable history, reconnect, and periodic Git checkpoints.

    System Designsystem-designcollaborationcrdtoperational-transform
  • System DesignHardModel answer
    Build a Delayed-Task Platform with a Fast Status Cache

    Design a distributed platform that runs delayed and immediate background tasks with retries and durable state, plus a cache that serves task status in under 10 ms at 10k requests/second.

    System Designsystem-designjob-queuecachingidempotency
  • System DesignEasyModel answer
    Pinpointing a Storage Bottleneck on a Slow Production Host

    Walk through how to confirm whether disk I/O is slowing a service, find which process drives it, characterize the workload, and propose measured fixes.

    System Designlinuxperformanceiostatstorage
  • System DesignMediumModel answer
    Permission-Aware Q&A Assistant over Issue Tracker and Wiki

    Design an MVP retrieval-augmented assistant that answers employee questions across a ticketing system and a wiki, with citations, per-user access control, and fresh data.

    System Designragretrievalaccess-controlhybrid-search
  • System DesignMediumModel answer
    Designing a Safe Release and Reliability Plan for a Fleet Event Pipeline

    Design an end-to-end reliability plan for an event-ingestion service: guarded dependency calls, SLO-based alerting, reversible schema changes, and a canary pipeline with automatic rollback.

    System Designcircuit-breakerslocanary-deploymentschema-migration
  • System DesignMediumModel answer
    Building a Scalable Short-Link Service from Scratch

    Design a service that maps long web addresses to compact codes and serves redirects at very high read volume, covering API, storage, code generation and caching.

    System Designsystem-designurl-shortenercachingkey-generation
  • System DesignHardModel answer
    Design a Scalable IAM Platform for Users and Services

    Design a multi-tenant Identity and Access Management system with SPIFFE-style workload attestation, dynamic RBAC/ABAC policy evaluation, local enforcement, and tamper-evident auditing.

    System Designsystem-designsecurityiamdistributed-systems
  • System DesignEasyModel answer
    Secure S3 Upload Patterns and TypeScript Structural Typing

    Architect secure, direct S3 uploads via pre-signed URLs/IAM and analyze TypeScript structural typing alongside React useEffect async cleanup.

    System DesignAWSS3IAMTypeScript