practice a little every day — you've got this ♡
System Design Interview Problems
Practice 5997 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.
- 5997
- Problems
- 2221
- Auto-graded
- 15
- Topics
- 271
- Added today
Showing 661–690 of 1137 results
- System DesignMediumModel answerIn-Memory Versioned Store with Snapshot and Compaction
Build an in-memory key-value store that stages changes, creates atomic snapshots, supports historical queries, and limits retention to K versions.
System Designversioningstoragesnapshotsgarbage-collection - System DesignEasyModel answerDesign 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 answerFixing 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 answerReal-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 answerDedupe 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 answerMembership 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 answerDesign 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 answerScreenshot-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 answerReact 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 answerBuild 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 answerDesign 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 answerAccess 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 answerDesign 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 answerCoordinating 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 answerPython 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 answerDevOps & 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 answerLoad 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 answerDesign 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 answerFix 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 answerHierarchical 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 answerBuilding 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 answerMulti-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 answerDesign 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 answerBuilding 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 answerDesign 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 answerStreaming 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 answerDesigning 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 answerReal-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 answerDesigning 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 answerByte-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