practice a little every day — you've got this ♡
System Design Interview Problems
Practice 5998 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.
- 5998
- Problems
- 2221
- Auto-graded
- 15
- Topics
- 271
- Added today
Showing 511–540 of 1137 results
- System DesignMediumModel answerBuild a Persistent Real-Time Messaging Service with Reliable Sync
Design a text messaging service where conversations are stored durably, messages arrive live, and clients recover cleanly from disconnects, retries, and duplicate events.
System Designsystem-designchatwebsocketsidempotency - System DesignMediumModel answerSizing and Securing a Deduplicating Document Vault
Design a long-term document storage service: estimate storage with replicas, add ingestion-time deduplication, and layer encryption, key management, authorization and versioning.
System Designcapacity-estimationdeduplicationencryptionobject-storage - System DesignMediumModel answerReal-Time Hourly Popularity Ranking at 100K Events per Second
Design a scalable service that ingests a massive stream of view events and serves the most popular items over a rolling 60-minute window, allowing slightly approximate results.
System Designsystem-designstreamingtop-ksliding-window - System DesignMediumModel answerPer-User Impression Limits for an Ad Serving Platform
Design a low-latency service that stops an ad platform from showing a user the same ad or campaign more than an allowed number of times per time window, across regions.
System Designsystem-designdistributed-systemscountersredis - System DesignMediumModel answerThreshold-Crossing Price Notifications at Scale
Design a service where users set price-level triggers on securities and get notified quickly, exactly once, through push, email or SMS, even during market-open bursts.
System Designsystem-designevent-drivennotificationsdeduplication - System DesignMediumModel answerSpeeding Up a Cold Storefront Page and a 10M-Row Browser Table
Audit and cut a 5-second cold-cache load on a retail landing page, then design a browser table that can browse 10 million API records without freezing or crashing.
System Designfrontend-performanceweb-vitalsvirtualizationpagination - System DesignHardModel answerHardening a Duplicate-File Finder Against Real Filesystems
Design a duplicate-file cleanup tool that survives live, messy filesystems: handle errors, races, loops, scale and hash choices, and make deletions provably safe.
System Designfile-deduplicationfilesystemshashingconcurrency - System DesignMediumModel answerWalking Through a Python venv Bootstrap Shell Script
Explain each line of a bash script that builds a Python virtual environment, predict its output and files, and argue why shell automation suits environment setup.
System Designbashpython-venvpipautomation - System DesignMediumModel answerHighly Available Order Service With Durable Async Jobs
Design a horizontally scalable Spring Boot order backend that survives deploys and traffic spikes while guaranteeing that invoice and email jobs are never lost.
System Designspring-boothigh-availabilitymessage-queuetransactional-outbox - System DesignMediumModel answerTurning JSON Point Data into Lines via a Third-Party Drawing Service
Describe how to parse JSON point data, decide how points connect, build the drawing service's request, and recover safely from failures without creating duplicate drawings.
System Designapi-integrationjson-parsingidempotencyerror-handling - System DesignMediumModel answerDesign a Multi-Provider Money Transfer Price Comparison Service
Design a service that gathers remittance quotes from many providers, computes true customer cost against a mid-market rate, and clearly marks stale or missing data.
System Designsystem-designcachingfault-tolerancedata-normalization - System DesignMediumModel answerCatalog Backend for a Multi-Retailer Grocery Delivery App
Design the service that ingests retailer product, price and stock data and serves store-scoped browse, search and item pages, while keeping checkout prices consistent.
System Designsystem-designcatalogdata-ingestionsearch - System DesignMediumModel answerBuild a Short-Post Social Feed Platform at Scale
Design a backend for a social platform where users publish brief posts, follow each other, and read a recent-posts home feed, covering feed delivery, storage, caching, and abuse controls.
System Designsystem-designnews-feedfan-outcaching - System DesignMediumModel answerLease-Based Task Dispatch for a Pool of Human Reviewers
Design a platform that routes skill-specific manual tasks to human operators with leases, heartbeats, fair prioritization, and safe automatic reassignment after failures.
System Designsystem-designtask-queueleasesdistributed-systems - System DesignMediumModel answerPrepare a Flash-Sale Platform for a 50x Traffic Surge
Audit a small web stack ahead of a 50x traffic spike, pick the three most dangerous weaknesses, propose fixes, and plan the work for three engineers over four weeks.
System Designarchitecture-reviewscalabilityavailabilitycaching - System DesignHardModel answerBuilding a Reliable Earnings Pipeline for Gig Delivery Couriers
Design a service that turns courier delivery lifecycle events into correct, auditable payouts, covering idempotency, ordering, time zones, data repair, and reconciliation.
System Designsystem-designidempotencyevent-drivenpayments - System DesignMediumModel answerDesigning Reliable Benchmarks and Regression Tests on Shared Clusters
Describe how to run performance benchmarks and functional regression tests as separate tracks, and how to cut a benchmark's shared-cluster footprint while keeping results comparable.
System Designqabenchmarkingregression-testinghpc - System DesignMediumModel answerBuild a Blob Storage Platform with Resumable Large Uploads
Design a cloud blob store that accepts huge files in parts, keeps them durable across machine and site failures, and scales to petabytes with heavy concurrent traffic.
System Designobject-storagemultipart-uploadreplicationerasure-coding - System DesignMediumModel answerExact-Match File Deduplication at Petabyte Scale
Design a service that finds byte-identical files across billions of stored objects and lets clients check for existing content before uploading, while keeping network transfer low.
System Designsystem-designdeduplicationhashingdistributed-storage - System DesignMediumModel answerBuild a Conversational Catalog Search Agent with Guardrails
Design a multi-step conversational search assistant over a read-only catalog that clarifies intent, enforces hard constraints, grounds answers in records, and falls back safely.
System Designagentic-searchretrievalllm-agentsgrounding - System DesignMediumModel answerBuild a Pluggable Connector Layer for Third-Party Services
Design a platform that lets a product authorize customer accounts at many external vendors, run actions against them, and ingest their events reliably, with new connectors cheap to add.
System Designsystem-designintegrationswebhooksidempotency - System DesignHardModel answerBuild a Composable Filesystem Query Engine in the Spirit of find
Design an extensible, object-oriented library and CLI that walks directory trees, filters entries with composable predicates, and handles symlinks, errors, and huge trees.
System Designobject-oriented-designfilesystempredicatestraversal - System DesignMediumModel answerBuild a Time-Zone-Safe Scheduling Backend for Recurring Events
Design a scheduling service where users in different time zones create, edit and query one-off and repeating events, with correct behavior across daylight saving changes.
System Designsystem-designcalendartime-zonesrecurrence - System DesignMediumModel answerBuilding a Citation-Accurate Document Q&A Service over PDFs
Design a service that ingests text, scanned and table-heavy PDFs, answers questions with page-level citations, and keeps its index correct as documents are replaced or removed.
System Designragdocument-parsingvector-searchcitations - System DesignHardModel answerDesigning a Flash-Sale Ticketing Platform Without Overselling
Design a worldwide ticketing service that survives on-sale stampedes, gives fast seat-map reads, and guarantees every seat is sold to at most one buyer.
System Designsystem-designconcurrencydistributed-systemscaching - System DesignHardModel answerPlanning a Sparse-Expert LLM Training Run on 256 GPUs
Plan an end-to-end training setup for a bilingual sparse-expert language model on about 1T tokens and 256 A100-80GB GPUs, including a path to 1,024 GPUs.
System Designmixture-of-expertsdistributed-trainingexpert-parallelismllm-pretraining - System DesignHardModel answerBuild a Charge-Once Card Payment Service Behind a Gateway
Design an internal payment service that charges a card at most once per order despite retries, timeouts and crashes, and reconciles its records with an external payment provider.
System Designidempotencydistributed-systemspaymentsreconciliation - System DesignMediumModel answerDesign a Governed Catalog and Access Layer for Vendor Price Data
Design a metadata-driven service that lets quants and PMs find, trust and query licensed vendor market data, with lineage, entitlements, freshness alerts and point-in-time reads.
System Designsystem-designdata-catalogbitemporalentitlements - System DesignHardModel answerOffline Audio Moderation Pipeline: End-to-End Architecture
Design a batch pipeline that screens stored audio files for policy violations, labels each as safe, unsafe or uncertain, and routes uncertain ones to human reviewers.
System Designml-system-designaudiopipeline-orchestrationhuman-in-the-loop - System DesignHardModel answerDesigning a Continuously Refreshed Merchant Attribute Store
Design a platform that links merchants to external sources, refreshes their attributes on schedule, resolves conflicts with provenance, and serves low-latency reads even when upstreams fail.
System Designsystem-designdata-pipelinesentity-resolutionrate-limiting