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
- 270
- Added today
Showing 481–510 of 1137 results
- System DesignMediumModel answerCustomer Playbook for Unreliable and Slow Data Pipelines
Outline how you would advise a customer whose cloud data platform produces untrustworthy data and runs slowly or expensively: scoping, metrics, diagnosis, fixes, and architecture concepts.
System Designdata-qualitypipeline-performancelakehousesolutions-architect - System DesignHardModel answerSpeeding Up a Pillow Photo Pipeline with Workers
Build a per-photo Pillow pipeline that applies a fixed series of edits, then cut wall-clock time with parallelism and justify processes vs threads and the worker count.
System Designpythonpillowmultiprocessinggil - System DesignMediumModel answerDeadline-Aware Task Dispatcher with Dependencies and Leases
Build a task dispatcher that serves the earliest-deadline runnable task, handles prerequisites, and grows into a fault-tolerant multi-worker service.
System Designschedulerpriority-queuetopological-sortdistributed-systems - System DesignMediumModel answerScheduling Collision Detection for a Shared Calendar Service
Design the backend that detects and handles scheduling collisions when users create or edit events, covering recurrence, attendees, privacy, time zones, and concurrent edits at massive scale.
System Designsystem-designcalendarconflict-detectionrecurrence - System DesignHardModel answerShared Storage Allowance Service Across Many Products
Design a globally consistent service that tracks one storage allowance per user across several products, guaranteeing usage never exceeds the limit while staying fast and available.
System Designsystem-designdistributed-systemsconsistencyidempotency - System DesignMediumModel answerArchitect a Scalable Storage Cluster for Huge Files Across Many Machines
Design a cluster-based file storage system from a vague prompt, defining workload, guarantees and scale first, then covering metadata, data placement, I/O paths and failure handling.
System Designdistributed-systemsstoragereplicationmetadata - System DesignMediumModel answerBuild a Real-Time Ad Decision Service with Spend Controls
Design a backend that picks one ad per page slot within a strict latency limit, logs views and clicks for billing, and keeps campaign spend within budget and spread across the day.
System Designsystem-designad-servinglow-latencybudget-pacing - System DesignHardModel answerBuilding a Fault-Tolerant HTTP Traffic Distribution Layer
Design a resilient, horizontally scalable HTTP/HTTPS traffic distribution tier that routes by path or header, tracks backend health, and survives node and control-plane failures without dropping connections.
System Designload-balancinghigh-availabilitylayer-7health-checks - System DesignHardModel answerDocument-Grounded Chat at Scale: Upload, Index, and Serve Sessions
Design a multi-document chat backend where each session accepts up to 200 files, covering async indexing, latency budgets, safe caching, and rate-limit-aware admission control.
System Designragsystem-designasync-ingestionlatency-budget - System DesignMediumModel answerDesigning a Low-Latency Feature Platform for Ranking Models
Design a platform that serves fresh features to a ranking model in milliseconds and also builds leak-free historical training sets, keeping the two paths consistent.
System Designfeature-storeml-system-designstreamingpoint-in-time-join - System DesignMediumModel answerBuild a Retry-Safe Background Job Service for Heavy Tasks
Design an HTTP service that accepts long-running jobs, returns immediately, deduplicates client retries, and survives worker crashes without repeating side effects.
System Designidempotencymessage-queuesdistributed-systemsoutbox-pattern - System DesignHardModel answerBuild a Live Same-Day Delivery Dashboard for a Station Lead
Design a dashboard for a delivery-station lead covering metric definitions, chart choices, layout, interactions, alerting, validation, and scalable aggregation that keeps tail behavior visible.
System Designdashboard-designmetricsvisualizationalerting - System DesignHardModel answerParallelizing a Sliding Dot-Product Filter Across CPU Cores
Design a multithreaded CPU routine for valid 1D correlation that adapts to tiny, huge, and thread-capped cases, covering partitioning, false sharing, SIMD, and merging.
System Designmultithreadingparallel-reductionfalse-sharingsimd - System DesignMediumModel answerThread-Safe Maps, Cache Sharding and Batch Processing Models
Explain how Java's concurrent hash map stays safe under contention, how to shard a session cache without mass reshuffling, and when batch map-reduce beats SQL joins.
System Designconcurrencyconsistent-hashingjavadistributed-systems - System DesignMediumModel answerBuilding a Fan-Out Service That Indexes a Huge Directory Tree
Design an asynchronous service where workers recursively split a directory scan into child tasks, with safe retries, deduplication, progress reporting and scaling to billions of files.
System Designsystem-designdistributed-systemsmessage-queueidempotency - System DesignMediumModel answerStorage Backend for a Large-Scale Time-Series Metrics Platform
Design the storage layer for a metrics platform that ingests 100k points per second, serves tag-filtered time-range queries, downsamples older data and enforces tiered retention.
System Designtime-seriesstoragepartitioningdownsampling - System DesignMediumModel answerShipping Multi-GB Model Artifacts to a Large Edge Fleet
Design a secure, resumable pipeline that delivers 0.5–50 GB model bundles from a central registry to over 10,000 edge nodes, with staged rollouts, rollback, and fleet-wide monitoring.
System Designdistributed-systemscontent-addressable-storagerolloutsedge-deployment - System DesignHardModel answerStreaming Keyword-Set Matcher for Interleaved Rules and Events
Build a processor for a stream of subscriptions and log events that assigns IDs, acknowledges each subscription, tags matching events, and scales to heavy traffic with deletions.
System Designinverted-indexstream-processingscalingdeletion - System DesignHardModel answerBuild a Clickstream and Orders Warehouse for an Online Shop
Design a warehouse for a retail platform's clickstream and orders that serves two fixed queries: monthly unique Asian viewers of an item, and the current top three orders by value.
System Designdata-warehouseevent-schemaidentity-stitchingdimensional-modeling - System DesignEasyModel answerFrom C++ Source File to Running Process: The Build Pipeline
Walk a C++ file through preprocessing, compilation, assembly and linking, then explain object files, linker errors and the process address space at launch.
System Designc++compilationlinkingelf - System DesignHardModel answerBuilding a Throttling Service for a Multi-Node API Fleet
Design a throttling layer that caps per-key request rates with burst tolerance, first on one machine, then across many app servers, covering consistency, clock drift, failures, and observability.
System Designrate-limitingtoken-bucketsliding-windowredis - System DesignHardModel answerDesign a Cloud Workstation Platform for Engineers
Design a service that gives engineers on-demand remote workstations they reach from a laptop, keep across stops and restarts, and have reclaimed automatically when idle.
System Designsystem-designcontrol-planeprovisioningpersistent-storage - System DesignMediumModel answerHardening a Multithreaded Task Dispatcher with Rate Limiting
Review a flawed Python task dispatcher for races, deadlocks and limiter bugs, then write tests, derive makespan and success-rate formulas, and design telemetry.
System Designconcurrencydebuggingrate-limitingrace-conditions - System DesignHardModel answerBuilding a Reliable Credit Top-Up Billing Backend
Design a billing service that sells API credits through an external payment provider, crediting each successful payment exactly once despite retries, timeouts, and partial failures.
System Designidempotencydouble-entry-ledgerwebhooksreconciliation - System DesignMediumModel answerFast Dashboards and Auditable Finance Tables from One Event Stream
Design a marketplace order-event pipeline that serves five-minute operational metrics and a reproducible next-morning finance table, weighing batch, streaming, and hybrid approaches.
System Designdata-pipelinestream-processingbatch-processinglambda-architecture - System DesignHardModel answerBuild a Team Chat Platform with Live Delivery and Sync
Design a workplace chat backend covering DMs and channels, with sub-second delivery, durable acknowledged messages, per-conversation ordering, and consistent history across devices.
System Designsystem-designwebsocketsmessagingfan-out - System DesignMediumModel answerCard Payments With Tips and Nightly Batch Capture for a Café Chain
Design a card-present payment flow for a multi-location café chain: hold at swipe, tip added later, and a scalable nightly capture per location with safe retries and reconciliation.
System Designpaymentsidempotencybatch-processingreconciliation - System DesignMediumModel answerDeciding What Ops Work to Automate and Where to Stop
Explain how you pick operational toil to automate, how you make automation safe in production, and how you judge when it is good enough, excellent, or not worth building.
System Designsreautomationtoilreliability - System DesignMediumModel answerBuild a Weighted Traffic Splitter for Multi-Backend Log Pipelines
Design a scalable service that takes logs from many services and splits them across storage backends by live-adjustable percentages, surviving backend outages without losing data.
System Designsystem-designkafkaload-balancingbackpressure - System DesignEasyModel answerHow Secure Web Connections Are Set Up and Why Captured Traffic Stays Private
Explain how a secure web session is negotiated, how clients decide to trust a server, and why captured packets resist decryption while a trusted proxy can still read them.
System Designtlshttpsnetworkingcryptography