practice a little every day — you've got this ♡
System Design Interview Problems
Practice 5973 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.
- 5973
- Problems
- 2212
- Auto-graded
- 15
- Topics
- 271
- Added today
Showing 991–1020 of 1132 results
- System DesignMediumModel answerWorkflow Engine with DAG Execution and Timeout-Based Refunds
Build a workflow engine that executes order tasks as a directed acyclic graph, finalizes successful orders, and triggers refunds when timeouts occur.
System Designdistributed-systemsworkflow-orchestrationstate-management - System DesignMediumModel answerDesigning a Multi-Restaurant Booking Platform
Build a reservation system where users find and book tables across restaurants while preventing double-bookings under concurrent requests.
System Designconcurrencydistributed-systemsdatabasescaching - System DesignMediumModel answerBuild a scalable alert delivery platform with multi-channel support
Design an event-driven system that ingests alert events, fans out to subscribers, and delivers through push, email, SMS, and in-app channels with reliability and preferences.
System Designdistributed-systemsmessage-queuesreliabilityapi-design - System DesignMediumModel answerDiagnosing a Latency Spike in a Distributed Ingestion Pipeline
Walk through a systematic incident investigation: triage customer impact, correlate observability signals across service tiers, and separate root causes from cascading symptoms.
System Designobservabilityincident-responsedistributed-systemsdebugging - System DesignHardModel answerSerialize and Restore Object Graphs Containing Cycles
Design a cross-language JSON format and matching encoder/decoder that correctly handles circular references, shared subobjects, and hostile inputs.
System Designserializationgraphscycle-detectionjson - System DesignMediumModel answerDesign a High-Throughput Notification Platform
Build a system that ingests notification requests with sub-50ms latency, handles 10x traffic spikes, and delivers across multiple channels without overwhelming providers.
System Designqueuesscalabilityrate-limitingdistributed-systems - System DesignMediumModel answerBoosting Clock Speed Without a Smaller Process Node
Explore architecture, microarchitecture, and logic techniques to increase chip performance when process technology is fixed.
System Designcomputer-architecturehardwareperformance-optimization - System DesignHardModel answerBuilding a Task Scheduler for Millions of Jobs
Design a system that persists and triggers jobs at specified times, handling millions of scheduled tasks and thousands of executions per second.
System Designdistributed-systemsscalabilityfault-tolerance - System DesignMediumModel answerBuilding a Global Rate Limiting System
Design a low-latency rate limiting system that enforces usage quotas across distributed API gateways while maintaining availability and handling failures gracefully.
System Designdistributed-systemsrate-limitingscalabilityredis - System DesignMediumModel answerBackend Architecture for a Live Fundraising Platform
Design a scalable donation system handling 5k writes/sec with payment idempotency, real-time aggregation, and strict financial consistency.
System Designpaymentsidempotencyreal-timefinancial-systems - System DesignMediumModel answerPromise Concurrency Combinators: all, any, allSettled
Compare how Promise.all, Promise.any, and Promise.allSettled settle, handle failures, and order results, then pick the right one for three real service-orchestration scenarios.
System Designjavascriptpromisesconcurrencyasync - System DesignHardModel answerBuild a Remote Development Workspace Platform
Architect a service that provisions isolated development environments accessible via SSH, with persistent storage, scheduled automation, and fault tolerance.
System Designdistributed-systemsinfrastructuresecuritystorage - System DesignHardModel answerEliminate Duplicates in a Personalized Content Feed
Design a system that ensures each piece of content appears only once in the initial screen of a personalized homepage with multiple thematic rows.
System Designdeduplicationpersonalizationrecommendation-systemscaching - System DesignHardModel answerBuilding a Two-Phase Transaction Processing Platform
Design a service that processes both instant payments and deferred-settlement transactions with reserved funds, ensuring correctness under failures.
System Designpaymentsdistributed-systemsconsistencystate-machines - System DesignHardModel answerDesign a Fault-Tolerant Orchestration Engine for ML Pipelines
Design a multi-tenant ML workflow scheduler that handles versioned DAGs, heterogeneous compute routing, data quality enforcement, and reproducible lineage tracking.
System Designsystem-designmachine-learningdistributed-systemsorchestration - System DesignMediumModel answerDesign a Photo-Sharing Platform with Social Feed and Discovery
Build a scalable backend for uploading images, following users, generating personalized feeds, and suggesting new connections to follow.
System Designdistributed-systemssocial-networksfeed-generationrecommendations - System DesignMediumModel answerReal-Time Fleet Data Platform Architecture
Design a platform to monitor live telemetry from electric vehicles, covering data collection, ingestion, storage, APIs, and operational controls.
System Designreal-time-systemsdata-ingestionAPI-designIoT - System DesignHardModel answerTroubleshooting Production Performance in a Microservices Platform
Debug and resolve a microservices system suffering from elevated latency, errors, and scaling instability using observability data and incident response.
System Designkubernetesobservabilityincident-responseperformance - System DesignMediumModel answerReal-Time Chat Delivery for Live Broadcasts
Design a low-latency comment system that fans out viewer messages to millions of concurrent watchers during a live video stream.
System Designreal-timepub-subwebsocketsfanout - System DesignMediumModel answerBuilding a Large-Scale Internet Page Fetcher
Design an architecture to retrieve and store billions of web pages while respecting site policies and handling failures gracefully.
System Designdistributed-systemsscalabilityfault-tolerance - System DesignMediumModel answerBuilding a Fault-Tolerant Aggregation Layer for Mobile App Startup
Design an API that combines data from multiple backend services into one response, handling failures gracefully when services are down or slow.
System Designmicroservicesfault-toleranceapi-designorchestration - System DesignMediumModel answerHandling Partial Failure in a Payment Service Method
Analyze a Java method that charges a payment provider then writes to a database, identifying failure scenarios and proposing fixes for consistency.
System Designdistributed-systemsidempotencyerror-handling - System DesignHardModel answerFleet Command Dispatch and Telemetry Reconciliation at Scale
Design a durable, idempotent command pipeline and telemetry reconciliation engine for five million intermittently connected edge devices.
System Designdistributed-systemsedge-computingidempotencytelemetry - System DesignMediumModel answerSizing a Credit-Line Expansion: P&L and Experiment Design
Model the incremental profit of raising credit limits for a customer segment, then design an experiment to validate the decision before a full rollout.
System Designunit-economicscredit-riskexperiment-designproduct-analytics - System DesignMediumModel answerBuild a GPU-Based Model Serving System
Design a service that exposes a trained ML model over an API, routes requests to GPU workers, and maximizes hardware utilization.
System Designmachine-learningdistributed-systemsapi-design - System DesignMediumModel answerBuilding a Transaction Dispute Resolution System
Design a backend system to manage the complete lifecycle of payment disputes in an e-commerce marketplace, including evidence handling, deadline management, and financial settlements.
System Designdistributed-systemsfinancial-systemsstate-machinesconsistency - System DesignMediumModel answerBuild a Pipeline to Ingest and Process Video Conference Recordings
Design a system that automatically captures video conference recordings from a third-party platform, transforms them into transcripts and analytics, and serves results reliably at scale.
System Designdistributed-systemsdata-pipelinerate-limitingidempotency - System DesignHardModel answerDesign a High-Throughput Event Aggregation System
Build a distributed system for counting events by user, device, and region with real-time aggregation, deduplication, and time-windowed queries.
System Designdistributed-systemsstream-processingscalabilitydata-aggregation - System DesignMediumModel answerProfiling and Optimizing GPU Workload Performance
Identify bottlenecks in a GPU application using profiling tools, then select and validate a parallelization approach to improve end-to-end performance.
System Designgpuperformanceprofilingparallelization - System DesignMediumModel answerCaching vs. Index Optimization for High-Traffic Services
Evaluate when to add an in-memory cache versus tuning database indexes for a high-throughput service experiencing read latency spikes.
System Designcachingdatabasesperformancearchitecture