practice a little every day — you've got this ♡
System Design Interview Problems
Practice 5984 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.
- 5984
- Problems
- 2218
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 271–300 of 1133 results
- System DesignHardModel answerFault-Tolerant Router for Multiple LLM API Vendors
Design a client library that spreads LLM calls across several vendors, enforcing limits, isolating failures, and choosing providers by cost and latency while staying thread-safe and observable.
System Designcircuit-breakerrate-limitingload-balancingretries - System DesignMediumModel answerDesign a B2B Product Engagement & Liking System
Design a scalable backend architecture for product likes on a wholesale platform, handling dual-access querying, search result enrichment, counter aggregation, and brand metrics.
System Designsystem-designdata-modelingcachingscalability - System DesignMediumModel answerShipping a Persistent Streaming Chat Widget in a React App
Plan how to build, test and safely release a streaming chat panel in a React dashboard, covering state, request races, token expiry, accessibility, feature flags and rollback.
System Designreactstreamingfrontend-architecturetesting - System DesignHardModel answerDesign a Kubernetes-Based Object Metadata Store with Cassandra
Design an API metadata service on Kubernetes and Cassandra featuring exact-once unique name constraints, soft-delete state transitions, and high-performance read strategies.
System Designsystem-designcassandrakubernetesdistributed-systems - System DesignHardModel answerReal-Time Multiplayer Typing Race Backend with Penalty Freezes
Design a backend for a multiplayer typing race where a mistyped key freezes input for 1.5 seconds, covering match servers, matchmaking, ratings, latency fairness and failure recovery.
System Designreal-timewebsocketmatchmakingleaderboard - System DesignMediumModel answerResilient Streaming Chat Client for Android with MVVM and UDF
Design a layered Android client for an LLM chat app covering streaming, cancellation, retries, offline history, immutable UI state, and lifecycle and process-death handling.
System Designandroidmvvmkotlin-coroutinesstateflow - System DesignHardModel answerMulti-Tenant LLM Fine-Tuning Service on AWS: Platform Design
Design a managed AWS platform where customers fine-tune open-weight LLMs on their own data, with isolation, budgets, resumable distributed training, evaluation and endpoint deployment.
System Designml-system-designllm-fine-tuningawsdistributed-training - System DesignHardModel answerDesign a Single-Node Durable Key-Value Engine
Design an embeddable single-node key-value storage engine providing durability, high write throughput, crash recovery, and single-key transactions.
System Designstorage-enginelsm-treewalconcurrency - System DesignMediumModel answerDesign a Real-Time Sliding Leaderboard for Popular Merchants
Architect a high-throughput stream processing pipeline to track top-10 global and per-city merchants over a 60-minute trailing window with low latency.
System Designsystem-designstream-processingleaderboardsliding-window - System DesignMediumModel answerSecure Multi-Tenant Pipeline for Big Ledger File Processing
Design a service where enterprise tenants upload files up to 5 GB, which are processed asynchronously into versioned reconciliation reports, with resumable uploads, idempotent jobs, and strict isolation.
System Designsystem-designmultipart-uploadidempotencyasync-processing - System DesignMediumModel answerBuild a Grounded LLM Item Recommender Endpoint
Design a natural-language item recommendation endpoint backed by an LLM: request flow, prompt and output schema, retrieval, hallucination and injection controls, evaluation, and monitoring.
System Designllmragprompt-engineeringhallucination - System DesignHardModel answerPrefix-Sharing KV Cache for a Greedy Decoding Server
Add exact, prefix and shared-prefix KV reuse with a token-budgeted LRU to a toy LLM server, cutting prefill cost while every greedy output stays unchanged.
System Designkv-cachellm-inferencetrielru-cache - System DesignMediumModel answerSizing a Fleet to Serve a Large Model to 100M Daily Users
Plan an inference platform for 100M daily users: estimate traffic, memory, compute and bandwidth, pick hardware, control tail latency, and handle GPU out-of-memory failures.
System Designml-inferencecapacity-planninggpu-servingtail-latency - System DesignMediumModel answerBuild a Multi-Tenant Time-Series Telemetry Backend
Design a telemetry backend that ingests about 1M samples per second from many services, answers aggregate queries fast, runs alerts, and keeps data cheaply for months with tenant isolation.
System Designtime-seriesingestiondownsamplingcardinality - System DesignMediumModel answerBuild a Time-Series Telemetry Platform for Microservice Fleets
Design a platform that ingests a million telemetry points per second, keeps 30 days of history, and serves dashboard aggregations in under half a second while staying highly available.
System Designsystem-designtime-seriesingestion-pipelinestorage - System DesignMediumModel answerComparing Multithreading and Multiprocessing for Low-Latency Systems
Analyze thread vs. process execution models at the kernel, memory, and hardware level, and design a low-latency execution topology for an order book trading engine.
System Designmultithreadingmultiprocessingoperating-systemslow-latency - System DesignMediumModel answerStreaming Voice Agent Architecture with Barge-In Support
Design the backend for a conversational voice agent that listens, reasons and speaks in near real time, serves thousands of simultaneous callers, and handles users cutting in mid-reply.
System Designreal-timestreaminglatencyspeech - System DesignMediumModel answerBuild a Company-Wide Log Aggregation and Search Platform
Design a scalable platform that collects logs from many services, stores them durably with retention, supports filtered search, survives traffic spikes, and isolates tenants.
System Designsystem-designloggingobservabilitykafka - System DesignMediumModel answerMulti-Tenant Ad Delivery and Performance Analytics Platform
Architect a multi-tenant ad server and analytics engine that reliably serving ads, deduplicates metrics, and aggregates cross-campaign performance stats.
System Designsystem-designdistributed-systemsevent-drivenad-tech - System DesignMediumModel answerBatch-Apply Transform Chains to a Folder of Photos
Apply every transform chain to every photo, in order, with deterministic output names, no repeated decoding, and a design that parallelizes cleanly.
System Designparallelismbatch-processingimage-processingmultiprocessing - System DesignMediumModel answerLazy Iteration and Function Wrapping in Python: Generators and Decorators
Explain how Python generators suspend and resume execution to stream data lazily, and how decorators wrap functions, including a correct wrapper that preserves metadata.
System Designpythongeneratorsdecoratorslazy-evaluation - System DesignMediumModel answerBuild a Ranked Daily Reading Feed from Thousands of Publishers
Design a platform that pulls articles from many external publishers and serves each of millions of daily users a ranked, tailored feed in under 200ms, while staying up when sources fail.
System Designsystem-designrecommendationrankingcaching - System DesignMediumModel answerBuild a Real-Time Risk Scoring Gateway for Card Payments
Design a low-latency, highly available service that scores each payment attempt using analyst-owned rules plus ML models and returns an explainable approve, block, step-up, or review verdict.
System Designsystem-designfraud-detectionfeature-storerules-engine - System DesignMediumModel answerDesign a Multi-Vendor Book Aggregator & Automated Ordering Service
Design an asynchronous system that aggregates quotes across hundreds of vendor APIs to find the best price for an ISBN, places an order within a target bid, and manages payment consistency.
System Designsystem-designdistributed-systemsfault-toleranceconcurrency - System DesignHardModel answerTesting Plan: Hardware Queue, Rotating Arbiter, Ready/Valid Link
Plan the verification of three small digital blocks (a FIFO, a round-robin arbiter and a valid/ready link) covering testbench structure, random stimulus, assertions and coverage.
System Designdesign-verificationsystemverilogscoreboardassertions - System DesignMediumModel answerMaking External Payment Integration Resilient to Retries and Network Drops
Analyze a buggy payment handler, explain why database transactions fail to solve distributed state issues, and design a resilient flow using idempotency and background reconciliation.
System Designsystem-designdistributed-systemsidempotencypayments - System DesignHardModel answerDesign a Streaming LLM Output Architecture
Design a scalable backend architecture for real-time AI token streaming featuring resume capability, low latency, prompt cancellation, and fault isolation.
System Designsystem-designstreamingllmredis - System DesignMediumModel answerLoad Instruction Walkthrough: TLB Miss, Page Walk, L1 Cache Hit
Decode a 48-bit virtual address under 4-level paging, trace a load through a TLB miss and page walk to an L1 hit, and say where read permission is checked.
System Designvirtual-memorytlbpage-tablecpu-cache - System DesignMediumModel answerDesign an Ultra-Low Latency Distributed Link Shortening Platform
Architect a scalable, high-availability URL shortener capable of handling heavy read workloads, instant redirects, custom aliases, and automated TTL cleanup.
System Designsystem-designdistributed-systemscachingdatabase-design - System DesignMediumModel answerRerun-Safe Monthly Churn Pipeline with Late Events
Design a daily pipeline that turns streaming subscription events into month-end churn and retention metrics, tolerating late data, safe reruns, 12-month backfills, and changing metric definitions.
System Designetlidempotencyscd-type-2late-arriving-data