practice a little every day — you've got this ♡
System Design Interview Problems
Practice 5976 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.
- 5976
- Problems
- 2213
- Auto-graded
- 15
- Topics
- 271
- Added today
Showing 961–990 of 1132 results
- System DesignMediumModel answerBuild an E-Commerce Book Marketplace Backend
Architect a scalable platform for browsing, purchasing, and tracking book orders with high-availability search and transactional inventory correctness.
System Designe-commerceinventory-managementdistributed-transactionssearch-infrastructure - System DesignMediumModel answerDesign a RAG-Powered Internal Knowledge Assistant
Architect a multi-turn chatbot that retrieves answers from internal docs using RAG, enforces per-user access controls, and handles traffic spikes under a 2-second latency budget.
System Designragvector-searchaccess-controlconversational-ai - System DesignMediumModel answerChoosing CDC Techniques for Multi-Clock Digital Systems
Explain the failure modes at clock domain crossings and select the right synchronization technique for single-bit signals, events, and multi-bit data transfers.
System Designdigital-designclock-domain-crossingmetastabilityhardware - System DesignMediumModel answerDesign a Multi-Channel Notification Delivery Platform at Scale
Design a globally distributed system that delivers billions of push, email, and SMS notifications daily with low latency, at-least-once guarantees, and no duplicates on retry.
System Designdistributed-systemsmessagingqueuesidempotency - System DesignMediumModel answerDesign a Compact Link Redirect Service
Build a distributed system that maps long URLs to short alphanumeric codes and serves fast redirects at scale.
System Designdistributed-systemsscalabilitycachingdatabases - System DesignHardModel answerVirtual Currency Ledger with Real-Time Aggregation
Build a transactional ledger supporting currency transfers, 24-hour flow queries, and 30-day hourly balance history at scale.
System Designledgertransactionsaggregationdistributed-systems - System DesignHardModel answerDebug Three Injected Defects in an Open-Source Template Engine
Track down and fix three bugs in a Python template library: a silent AST visitor gap, a directory/file confusion in template lookup, and comment-only blocks that generate invalid Python.
System Designdebuggingastpythontemplate-engine - System DesignMediumModel answerDesign a Live Multiplayer Typing Race with Spectator Support
Design a real-time platform where players matched by language race to type the same passage, see live progress and errors, serve error-freeze penalties, and can be watched by spectators.
System Designreal-timewebsocketsmatchmakingfan-out - System DesignMediumModel answerBuild a Scalable Task Scheduling Service
Architect a fault-tolerant distributed system that executes millions of recurring jobs with precise timing, at-least-once guarantees, and resilience to failures.
System Designdistributed-systemsschedulingfault-tolerancescalability - System DesignMediumModel answerReal-Time Task Assignment Engine for Developer Marketplace
Build a system that routes skill-tagged work items to qualified engineers in under 500ms while maintaining fair load distribution across 200k workers.
System Designdistributed-systemsmatching-algorithmsscalability - System DesignMediumModel answerHandling a Service Degradation After Recent Release
Diagnose and mitigate a performance or availability drop that appears 10–15 minutes after shipping a new version to production.
System Designincident-responseobservabilityproduction-systems - System DesignMediumModel answerBuild a Workflow Engine with an AI Coding Assistant
Design, implement, and verify a two-endpoint workflow service—create and execute—in 45 minutes while demonstrating a disciplined plan-then-code loop with an AI assistant.
System Designworkflow-engineai-assisted-codinggraph-executiondependency-ordering - System DesignMediumModel answerDesign a Fleet-Wide Maintenance Orchestrator
Design a system to coordinate safe, rolling maintenance operations across thousands of machines while preserving availability and handling failures.
System Designdistributed-systemsorchestrationstate-managementfault-tolerance - System DesignHardModel answerBuild a Real-Time Query Suggestion Platform
Design a scalable service that returns ranked autocomplete suggestions as users type search queries, handling billions of requests per day with sub-100ms latency.
System Designautocompletelow-latencycachingranking - System DesignHardModel answerThread-Safe Config Registry with Stale-While-Revalidate
Design a ConfigRegistry class that serves configuration to thousands of concurrent threads with lazy loading, stale fallback on failure, and no thundering herd.
System Designconcurrencyreliabilitypythondistributed-systems - System DesignMediumModel answerThread-Safe Memoization: Fixing a Shared Cache for Concurrent Callers
A dict-backed memoization wrapper is called from many threads simultaneously — identify the race conditions and redesign it to be safe without killing throughput.
System Designconcurrencythreadingpythoncaching - System DesignMediumModel answerDesign a Slot-Filling Ad Service with Frequency Caps
Design a production HTTP API that assigns ads to page slots while enforcing per-user display limits correctly under concurrency and retries.
System Designapi-designconcurrencyidempotencydistributed-systems - System DesignMediumModel answerBootstrap a Reproducible Python Environment for an LLM Project
Walk through pinning a Python interpreter, isolating dependencies with a lockfile, securing API credentials, and verifying the setup with a live smoke test.
System Designpythondev-environmentllmdependency-management - System DesignMediumModel answerBuild a Distributed API Rate Limiter with Per-User Quotas
Design a low-latency distributed rate limiter that enforces different token budgets for different users across a fleet of stateless API gateway nodes.
System Designrate-limitingdistributed-systemscachingredis - System DesignMediumModel answerHarden a Two-Step Charge-and-Record Payment Flow
Diagnose every failure mode in a naive charge-then-write endpoint, then redesign it to survive crashes, timeouts, retries, and concurrent duplicates.
System Designidempotencydistributed-systemspaymentsfault-tolerance - System DesignHardModel answerBuild a Request Batching System for LLM Serving
Design an inference service that groups incoming LLM requests into batches, assuming 100ms processing per batch, with attention to queueing, routing, and failure modes.
System Designbatchinginferencelatencythroughput - System DesignMediumModel answerBuilding a High-Throughput Distributed Rate Limiter
Design a multi-region rate limiting system that handles millions of requests per second with low latency while managing hot keys and partition failures.
System Designdistributed-systemsrate-limitingcachingscalability - System DesignHardModel answerDesign a Prompt Editor with Versioning and Collaboration
Build a web app for writing, executing, and versioning LLM prompts with efficient storage for large documents and incremental edits.
System Designdatabase-schemaversioningobject-storagecollaboration - System DesignMediumModel answerDesign a High-Throughput Telemetry Collection Platform
Build a system to aggregate and store operational telemetry from a large distributed fleet, supporting real-time writes and historical analytics.
System Designtime-seriesdistributed-systemsstreamingstorage - System DesignMediumModel answerReal-time A/B test monitor with late arrival tolerance
Build a stream processor that detects traffic imbalances across experiment variants in real time, handling duplicate events and delayed data.
System Designstreamingexperimentationstatisticsstate-management - System DesignMediumModel answerSync Data from a Rate-Limited External API (3 req/s)
Design a distributed service that ingests and keeps data fresh from a third-party API capped at exactly 3 requests per second.
System Designrate-limitingdistributed-systemsdata-pipelinebackoff - System DesignMediumModel answerBuild a Multi-Source Content Aggregation Platform
Architect a system that collects content from diverse publishers, identifies user interests, and assembles personalized feeds with timely updates.
System Designfeed-systemspersonalizationdata-ingestioncaching - System DesignMediumModel answerCart Hold System for High-Traffic E-Commerce
Build a scalable service that temporarily locks inventory when users add items to their cart, prevents duplicate allocation, and releases stock automatically.
System Designconcurrencydistributed-systemscachingdatabase-design - System DesignMediumModel answerMemory Management, Secure Transport, and Protocol Trade-offs
Contrast storage duration and allocation, explain TLS-based security in HTTPS, and compare reliable streams with unreliable datagrams.
System Designfundamentalsnetworkingmemory-management - System DesignMediumModel answerGlobal Rate Limiter with Regional Distribution
Design a rate limiting service that enforces API key quotas consistently across multiple geographic regions with low latency and partition tolerance.
System Designdistributed-systemsrate-limitingscalability