practice a little every day — you've got this ♡
System Design Interview Problems
Practice 5971 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.
- 5971
- Problems
- 2211
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 91–120 of 1132 results
- System DesignMediumModel answerReal-Time Chat for Mass-Audience Livestreams
Design a chat feed for livestreams where one broadcast may have over a million viewers, with sub-half-second delivery, durable storage and live moderation.
System Designfan-outwebsocketkafkareal-time - System DesignMediumModel answerDesign a Scalable API Rate Limiter
Architect a high-performance, distributed rate limiting system for an API gateway handling high-throughput, bursty traffic.
System Designrate-limiterdistributed-systemsapi-gatewayredis - System DesignMediumModel answerFinding Identical Files in a Huge Directory Tree
Group byte-identical files across a directory tree too large for memory, minimizing disk reads, staying correct under hash collisions, and scaling out across workers.
System Designdeduplicationhashingexternal-memoryfile-systems - System DesignHardModel answerDesign a Scalable Distributed Task Processing Engine
Design an architecture for a multi-tenant distributed task execution platform handling millions of parallel jobs, emphasizing fault tolerance, scheduling, leases, and idempotency.
System Designsystem-designdistributed-systemsfault-tolerancequeues - System DesignHardModel answerBuilding a Global Multi-Tenant Scheduling and Events Platform
Design a calendar backend for hundreds of millions of users covering events, recurrence, time zones, sharing, reminders, sync, and storage choices, with APIs, schemas, queries, and scaling.
System Designsystem-designcalendarrecurrencesharding - System DesignMediumModel answerArchitecting a Durable, Always-On Object Store at Scale
Design a horizontally scalable object storage service with buckets, keys, and huge blobs, covering metadata, placement, durability, consistency, large uploads, security and operations.
System Designobject-storagedistributed-systemsreplicationerasure-coding - System DesignHardModel answerTracing a 4 GiB Allocation, Swap Stalls, and the Cost of Inlining
Walk through how a huge allocation becomes virtual and physical memory on Linux, why swap hurts tail latency, and what C++ inline means for linkage and the CPU.
System Designoperating-systemsvirtual-memorylinuxcpp - System DesignHardModel answerBuilding an Outbound Voice Dialer That Survives Campaign Bursts
Design a multi-tenant service that places API-driven phone calls through carriers with hard channel and CPS limits, stays fair under bursts, and tracks call state reliably.
System Designsystem-designqueueingbackpressurerate-limiting - System DesignMediumModel answerBuild a Global Remittance Platform: FX, Compliance, Payouts
Design a service that lets users send money abroad with live FX quotes, fees, limits, multiple funding and payout options, status tracking, refunds and notifications.
System Designsystem-designpaymentsidempotencysaga - System DesignMediumModel answerDesign a GPU Job Scheduler for Text-to-Video Generation
Design an asynchronous GPU scheduling service for single-GPU text-to-video jobs, featuring weighted fair queueing, fault tolerance, and lease-based worker management.
System Designsystem-designjob-schedulerdistributed-systemsgpus - System DesignMediumModel answerBuild a Playbook-Driven Contract Review Pipeline with Citations
Design an asynchronous service that checks contracts against versioned rule sets, cites exact text spans, proposes edits, assigns a risk tier, and lets reviewers override results.
System Designsystem-designllm-agentstraceabilitymulti-agent - System DesignHardModel answerSpark Internals and Performance Tuning for Lake Pipelines
Explain how Spark defers and runs work across a cluster, then show how that execution model guides a measured approach to tuning slow batch and streaming jobs on Parquet/Delta data.
System Designsparkpysparkdata-engineeringperformance-tuning - System DesignMediumModel answerChoosing Safe Meeting Spots for a Ride-Hailing Trip
Design a service that picks a legal, safe, and convenient meeting spot for a rider and driver, balancing walking time, driver arrival time, and confidence.
System Designsystem-designmapsroutingranking - System DesignMediumModel answerBuild the Backend for a Multi-User Live Text Editor
Design a backend that lets many people edit one text document at once, keeps every replica converged, persists edits with history, and recovers cleanly from disconnects and server crashes.
System Designsystem-designreal-time-collaborationoperational-transformationcrdt - System DesignMediumModel answerResumable Parallel Fetcher for Versioned ML Model Files
Design a fetcher that pulls a multi-file model in parallel byte ranges, survives failures without redoing verified work, and exposes the model only when complete and consistent.
System Designsystem-designresumable-downloadsbyte-rangesintegrity-verification - System DesignMediumModel answerDesign a Flash Sale System with Virtual Waiting Room
Architect a high-concurrency item drop system using edge-cached waiting queues, zero-oversell inventory reservation, and idempotent payment processing.
System Designsystem-designdistributed-systemsredisrelational-database - System DesignMediumModel answerDesigning a Self-Checking UVM Environment for a Streaming RTL Block
Explain how to verify a valid/ready RTL block using UVM: environment structure, an out-of-order-safe scoreboard, and coverage-driven closure to sign-off.
System Designuvmsystemverilogdesign-verificationscoreboard - System DesignHardModel answerBuilding a Future-Dated Payment Scheduler with Safe Cancellation
Design a service that stores payments for later execution, lets users check or cancel them while pending, and guarantees no duplicate charges despite retries, crashes and time-zone quirks.
System Designsystem-designschedulingidempotencydistributed-systems - System DesignHardModel answerDesigning a Copy-Match Service for a Billion-Video Catalog
Design a pipeline that flags re-uploaded or lightly altered videos against a billion-item catalog within 500 ms at 10k uploads per second, balancing precision and recall.
System Designsystem-designvector-searchannembeddings - System DesignMediumModel answerDesign a Low-Latency Distributed Rate Limiting System
Architect a high-performance, multi-tenant rate limiter capable of enforcing global traffic quotas across millions of requests per second with sub-5ms response times.
System Designrate-limitingdistributed-systemscachingscalability - System DesignHardModel answerScheduling Platform for Long-Running Multi-GPU Render Jobs
Design a fault-tolerant, multi-tenant scheduler that places long, opaque, gang-scheduled GPU jobs on a 10,000-GPU fleet while keeping utilization high and recovering from node failures.
System Designjob-schedulinggpu-clusterfair-sharegang-scheduling - System DesignMediumModel answerBuild a Reliable Cron-as-a-Service Platform
Design a cloud service that lets clients register recurring or one-off tasks, runs them on a worker fleet without skipping any run, enforces timeouts, and exposes run status and logs.
System Designsystem-designjob-schedulerdistributed-systemsfault-tolerance - System DesignMediumModel answerBuild a Shopping Cart Backend for Meal Ordering
Design a scalable, highly available cart service for a meal-ordering app, covering APIs, storage, price drift handling, concurrent edits across devices, and consistency trade-offs.
System Designsystem-designcart-serviceconsistencyidempotency - System DesignMediumModel answerBrowser-Only Streaming Chat App with a Stateless Relay
Design a streaming AI chat product where conversation content lives only in the browser, a stateless relay protects provider keys, and refresh begins a fresh chat.
System Designsystem-designstreamingsseoauth-pkce - System DesignMediumModel answerReal-Time Direct Messaging Plus Dormant-Customer Email Campaign
Design a WebSocket-based one-to-one messaging service with presence and history, plus a scheduled pipeline that emails customers who have been dormant for ten days.
System Designwebsocketmessage-routingpresencepub-sub - System DesignHardModel answerTaming a Compiler on a Wide-Issue VLIW Target
Explain how to steer or override a compiler's scheduling on a VLIW-style core, and how to verify the result is both correct and faster without relying on undefined behavior.
System Designcompiler-optimizationvliwperformance-engineeringsoftware-pipelining - System DesignHardModel answerScheduler Design Where Each Run Starts At Most Once
Design a distributed job scheduler for one-time and recurring jobs where a scheduled run must never start twice, covering crash ambiguity, deadlines, logs, cancellation and notifications.
System Designsystem-designdistributed-schedulerat-most-onceleases - System DesignMediumModel answerBuild a Backend for On-Demand Car Rides and Driver Dispatch
Design a service that pairs passengers with close-by available drivers, ingests live driver positions, and carries each trip from request to payment without ever double-booking a driver.
System Designsystem-designgeospatial-indexdispatchreal-time - System DesignHardModel answerBuilding a Local Business Review Service and a Link Shortener
Design a location-aware business discovery and review platform, then a short-link service, covering data models, search, caching, scaling reads and writes, and operational trade-offs.
System Designsystem-designgeospatial-searchcachingsharding - System DesignMediumModel answerDesign a Scalable Real-Time Event Notification Engine
Design a robust event delivery platform supporting independent fan-out isolation, classified retry delays, rate limiting, and historical replays.
System Designsystem-designpub-subevent-drivenrate-limiting