practice a little every day — you've got this ♡
System Design Interview Problems
Practice 6002 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.
- 6002
- Problems
- 2223
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 571–600 of 1139 results
- System DesignHardModel answerProduct Review Platform with Helpful Votes and Author Payouts
Design a high-traffic product review service with idempotent helpful-votes, scalable counters, ranking, abuse defenses and an exact, auditable author reward flow.
System Designsystem-designidempotencydistributed-countersranking - System DesignHardModel answerBuilding a Pipeline to Curate Math Training Data from Web Crawls
Design a daily batch pipeline that turns 100 TB of noisy HTML, PDF and image crawl data into a deduplicated, safe, high-rigor mathematical text corpus for LLM pretraining.
System Designml-system-designdata-pipelineocrdeduplication - System DesignHardModel answerBuilding a Partitioned, Replicated Append-Only Log Store
Design the storage tier of a distributed commit log: partitions, segments, indexes, compaction, leader/follower replication, retention, and crash recovery.
System Designdistributed-logsreplicationpartitioningcompaction - System DesignHardModel answerCrawl the Web from One Seed Across a 1,000-Machine Fleet
Design a distributed crawler that starts from one seed URL and spreads work over 1,000 machines, covering coordination, balancing, failure handling, and growth.
System Designdistributed-systemsweb-crawlerconsistent-hashingfault-tolerance - System DesignMediumModel answerBuilding an Append-Only Log Store with Real-Time File Following
Design a durable, scalable store that ingests huge volumes of appended log records, serves whole-file reads, and lets readers follow files that are still being written.
System Designsystem-designlog-storagepartitioningbatching - System DesignMediumModel answerDigital Game Marketplace: Catalog, Checkout, Downloads, Reviews
Design a digital game marketplace covering category browsing, a payment-safe purchase flow, entitlement-gated downloads, and a review system, with explicit policies and retry-safe behavior.
System Designsystem-designe-commerceidempotencycdn - System DesignMediumModel answerCache Set Collisions, False Sharing, and GPU Bank Conflicts
Work through how addresses map to cache sets to show conflict misses, then separate them from false sharing and GPU shared-memory bank conflicts, with the right fix for each.
System Designcpu-cachefalse-sharinggpu-bank-conflictsmemory-hierarchy - System DesignHardModel answerBuild a Fault-Tolerant Distributed Task Timer Service
Design a distributed service that runs one-off and repeating tasks on time at the scale of millions of jobs, survives worker crashes, and limits duplicate runs despite clock skew.
System Designdistributed-systemsjob-schedulingleasessharding - System DesignMediumModel answerReal-Time Analytics Dashboard: Range Queries and Event-Time Completeness
Design a backend that turns a live event stream into dashboard metrics, serves arbitrary time-range queries from rollups, and uses watermarks to decide when event-time windows are final.
System Designsystem-designstream-processingwatermarkstime-series - System DesignHardModel answerLow-Power Wrist Pulse Tracker: Sensing and Duty-Cycling Design
Design a wrist-worn pulse-tracking subsystem that stays under a 5 mW budget, updates within 2 seconds, and stays accurate during arm motion and poor sensor contact.
System Designembedded-systemssignal-processingpower-managementwearables - System DesignMediumModel answerBuild an Internal Platform to Train, Register, and Serve ML Models
Design an internal ML platform covering experiment tracking, a model registry, online and batch serving, and monitoring, including the API and the trade-off between containers and serverless.
System Designmlopsmodel-servingmodel-registryfeature-store - System DesignEasyModel answerSpring Dependency Injection: Wiring Styles, Scopes and Cycles
Explain how Spring's container wires beans, compare constructor, setter and field injection, resolve ambiguous beans, reason about scope and thread safety, and untangle circular dependencies.
System Designspringdependency-injectioniocjava - System DesignMediumModel answerSecure Landing Page for a Multi-Tenant Cloud Dashboard
Design the post-login home screen of a multi-tenant cloud dashboard, covering authentication, scoped permissions, tenant isolation, tamper-resistant audit logging, and low-latency scaling.
System Designsystem-designauthenticationauthorizationrbac - System DesignMediumModel answerBuild a Multi-Provider Payment Routing and Ledger Platform
Design a merchant payment platform that routes charges across several processors, survives timeouts without double-charging, and keeps refunds, captures and authorizations consistent.
System Designsystem-designpaymentsidempotencystate-machine - System DesignEasyModel answerRetrying HTTP GET Client with Backoff and Rate-Limit Handling
Write a Python wrapper around requests.get that retries transient failures with exponential backoff, honors Retry-After on 429, fails fast on client errors, and always returns one result shape.
System Designpythonrequestsretriesexponential-backoff - System DesignMediumModel answerReal-Time Ad Engagement Counting Pipeline and Advertiser Dashboard
Design a pipeline that ingests millions of ad click events per second and serves near-real-time, windowed counts per ad to advertisers, with deduplication and late-data handling.
System Designsystem-designstreamingkafkaflink - System DesignHardModel answerWarm-Restart Persistence for an In-Memory LRU Cache
Design how a single-node LRU cache saves its entries and recency order so it restarts warm after a crash, balancing write-path latency, durability, and bounded recovery time.
System Designlru-cachewrite-ahead-logsnapshotscrash-recovery - System DesignMediumModel answerAdding Trip-Level Limits to an Expense Policy Checker
Extend a per-expense policy engine so it also enforces trip-wide spending caps, and redesign its output to report both line-item and trip-level violations with clear explanations.
System Designsystem-designrules-engineaggregationapi-design - System DesignMediumModel answerLive Comment Thread with Instant Local Posting and Reconciliation
Design a live comment feature where new posts show up instantly on the author's screen, then reconcile safely with server acknowledgments, broadcast events, retries, and durable storage.
System Designsystem-designoptimistic-uiidempotencyreal-time - System DesignEasyModel answerContainerizing and Shipping a Python Model Server
Explain how containers work, tighten a naive Dockerfile for an ML inference API, and outline a CI/CD pipeline that safely ships code and model changes.
System Designdockerci-cdmlopscontainers - System DesignHardModel answerFrom Shader Source to GPU Code: Compilers and Modern Graphics APIs
Describe how shader source becomes GPU machine code, contrast explicit and legacy graphics APIs, and sketch a small shader compiler with front end, IR, and SPIR-V back end.
System Designshader-compilergraphics-apispir-vvulkan - System DesignMediumModel answerMini Ledger Service: Credits, Debits and Safe Balances
Design and build a small full-stack ledger app with an API, storage, a basic UI and tests that records credits and debits and never lets an account balance drop below zero.
System Designapi-designtransactionsidempotencyconcurrency - System DesignMediumModel answerShared Task Board with Live Sync: Architecture Walkthrough
Design a backend for team task lists where members add, assign, schedule, reorder and complete items, with changes appearing live across web and mobile and surviving offline use.
System Designsystem-designreal-time-syncconcurrencycrdt - System DesignHardModel answerBuild a Fault-Tolerant Block Store for Massive Tabular Datasets
Design a distributed block-based file store for huge structured datasets, covering versioned metadata, caching, replica repair, locality-aware job scheduling, and resource-aware balancing.
System Designdistributed-storagereplicationmetadatacaching - System DesignHardModel answerMoving a Payroll Engine Off a Legacy Platform Safely
Plan the move of a regulated payroll function from an old on-prem system to a new platform, covering rollout strategy, data checks, parallel runs, cutover, rollback and communication.
System Designdata-migrationpayrollrisk-managementcutover-planning - System DesignHardModel answerPer-User Credit Ledger Ordered by Vector-Clock Expiry
Design a service that adds expiring credits and spends them earliest-expiry-first, where expiry and spend times are vector clocks that are only partially ordered.
System Designvector-clocksidempotencyconcurrency-controlordered-set - System DesignMediumModel answerDurable, Ordered Messaging Backend for 1:1 and Group Chat
Design a messaging backend where an acknowledged message is never lost, each conversation has a deterministic order, and reconnecting clients catch up without gaps or duplicates.
System Designmessagingdurabilityorderingfan-out - System DesignMediumModel answerInside a Linux Command: Processes, Files, Containers vs VMs
Trace a Linux command from shell parsing to exit status, explain path lookup, permissions, file descriptors and /proc, then compare containers and VMs by isolation boundary.
System Designlinuxoperating-systemsprocessesfilesystems - System DesignMediumModel answerRank Synchronization in PyTorch Distributed: How barrier() Works
Explain what a collective barrier does in PyTorch distributed training, how it is implemented per backend, when to use it, and how misuse causes hangs or wasted throughput.
System Designpytorchdistributed-trainingsynchronizationnccl - System DesignHardModel answerDesigning a Batched Stream Aggregator with Exactly-Once DB Writes
Design a Kafka consumer pipeline that batches trade events, preserves per-key order, survives crashes and slow databases, and never double-writes aggregates.
System Designkafkastream-processingexactly-oncebackpressure