practice a little every day — you've got this ♡
System Design Interview Problems
Practice 5990 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.
- 5990
- Problems
- 2219
- Auto-graded
- 15
- Topics
- 269
- Added today
Showing 751–780 of 1136 results
- System DesignMediumModel answerDatabase Indexes: Read/Write Trade-offs and Query Tuning
Explain how relational indexes work, why they help reads but hurt writes, and walk through a systematic process for diagnosing and fixing a slow SQL query.
System Designdatabasessqlperformanceindexing - System DesignMediumModel answerDesign a Seat Reservation System for Live Events
Design a distributed ticketing platform that handles high search traffic, prevents duplicate seat bookings, and survives payment service failures.
System Designconcurrencydistributed-systemsconsistencydatabases - System DesignMediumModel answerDesigning Access Control for Social Feed Visibility
Design a system that enforces per-post audience rules across feed and permalink reads at high QPS while staying correct under friendship and privacy-setting changes.
System Designaccess-controlcachingsocial-graphfeed-system - System DesignHardModel answerArchitect the Write Path and Crash Recovery for a Cloud-Native Database
Design a distributed database that separates compute from storage, detailing how writes are committed durably, how a failed node recovers, and how quorum keeps the write path moving under slow or failed storage nodes.
System Designdistributed-systemsdurabilityreplicationquorum - System DesignHardModel answerRF & Analog IC Design: Core Concepts for Circuit Interviews
Work through receiver architectures, impedance matching, PLLs, VCOs, op-amp noise, and charge-pump non-idealities as a structured oral exam.
System Designanalog-designRFPLLoscillators - System DesignMediumModel answerDesigning Cross-Region Data Consistency for a Fintech Platform
Architect a multi-region data layer for a global payments platform that balances low-latency reads, strongly consistent money movement, and graceful regional failover.
System Designdistributed-systemsdata-replicationconsistencytransactions - System DesignMediumModel answerBuild a Controlled Enterprise Agent System with State and Guardrails
Design a platform that executes agent tasks safely in enterprise environments, balancing model autonomy with workflow constraints and permission checks.
System Designagentsplatform-architecturesecuritylatency - System DesignMediumModel answerBuild a Real-Time Search Autocomplete System
Design an autocomplete service that delivers personalized query suggestions with sub-50ms latency, handling millions of concurrent users and live trend updates.
System Designautocompletelow-latencydistributed-systemscaching - System DesignMediumModel answerBuild a Recurring Billing Engine for a Subscription Service
Design the backend that manages subscriptions, handles recurring charges, processes plan changes mid-cycle, and retries failed payments at scale.
System Designsubscriptionspaymentsbillingstate-machines - System DesignHardModel answerDesign a Multiplayer Game Ranking System
Build a backend that tracks player scores, displays global and friend rankings, shows a player's position with nearby competitors, and supports multiple time periods.
System Designleaderboardhigh-throughputcachingreal-time - System DesignHardModel answerDesign a real-time group messaging platform
Design a scalable chat platform with channels and DMs supporting millions of users, sub-200ms delivery, message ordering, presence, and cross-device history sync.
System Designreal-time-messagingwebsocketsscalabilitypub-sub - System DesignMediumModel answerFault-Tolerant Selenium Text Scraper for Dynamic Pages
Write a Python function that waits for two CSS-selected elements to become visible on a JS-rendered page and returns their text, with None for any that time out.
System Designseleniumbrowser-automationexplicit-waitspython - System DesignHardModel answerDesigning an Order-Routing Platform Over Async Exchange APIs
Design a crypto order-routing service that fronts unreliable third-party exchange APIs with async fills, exactly-once effects, spiky load, and a durable ledger.
System Designsystem-designdistributed-systemsidempotencystate-machine - System DesignMediumModel answerDesign an AI Feature for a Ride-Sharing Platform
Pick a rider or driver pain point, propose an AI-powered solution, and define how you'd measure whether it actually works.
System Designproduct designAI/MLmarketplacemetrics - System DesignHardModel answerDesign a Timeline-Anchored Live Reaction Stream
Design a system that attaches viewer comments to specific moments on a video timeline, staying synchronized across live watching, replay, seeking, and reconnection.
System Designreal-timestreamingdistributed-systemsfanout - System DesignMediumModel answerDesign a 1:1 Chat System for a Buyer-Seller Marketplace
Design a real-time direct messaging platform supporting message ordering, delivery receipts, offline notifications, and multi-device sync at marketplace scale.
System Designwebsocketsmessagingdistributed-systemsreal-time - System DesignHardModel answerDesigning a Data Integrity System for Multi-Store Order Data
Design a validation and reconciliation pipeline that enforces order-book correctness across a set of loosely coupled databases with different freshness guarantees.
System Designfinancial systemsdata validationreconciliationevent-driven - System DesignHardModel answerEstimating Document Read Time in a Collaborative Writing Tool
Design a read-time estimation feature for a cloud document editor: model, validation strategy, system architecture, and success metrics.
System Designproduct-designestimationmachine-learningmetrics - System DesignMediumModel answerMutex Mechanics and Safe Shared State Access in C++
Explain how a C++ mutex enforces exclusive access, how locking works under contention, and how to correctly guard a multi-threaded shared counter.
System Designconcurrencycppthreading - System DesignHardModel answerReal-Time Event Tracking with Rolling Window Aggregations
Design a high-throughput pipeline that ingests behavioral events, deduplicates them, and serves accurate activity counts over 1-minute, 1-hour, and 24-hour sliding windows.
System Designstreamingtime-seriesaggregationdeduplication - System DesignHardModel answerDesign a Real-Time Collaborative Document Editing Service
Design the backend for a multi-user document editor supporting concurrent edits, offline sync, conflict resolution, history, and per-note scaling.
System Designreal-timecollaborationwebsocketscrdt - System DesignHardModel answerSemantic Cache with Deduplication Under Concurrent Load
Build a cache that recognizes semantically equivalent inputs, avoids redundant expensive computation when similar requests arrive concurrently, and keeps outputs consistent.
System Designcachingconcurrencyembeddingsdistributed-systems - System DesignHardModel answerDesign a Real-Time Streaming VWAP Computation Service
Design a sub-5ms latency pipeline that ingests multi-exchange trade ticks, maintains running VWAP aggregates with correction support, and fans out to tens of thousands of subscribers.
System Designstreamingfinancial-datalow-latencypub-sub - System DesignMediumModel answerC++ Memory Semantics, Dynamic Dispatch, and Override Pitfalls
Explain pointers vs references, vtable-based dispatch internals, and the override specifier, then diagnose three bugs in a polymorphic sensor class hierarchy.
System Designc++polymorphismmemory-management - System DesignHardModel answerBuild a Reusable Thread Rendezvous Point from First Principles
Implement a cyclic barrier from a mutex and condition variables where N threads block until all arrive, then release together and reset for the next round.
System Designconcurrencysynchronizationthreadingmutex - System DesignHardModel answerDesign a Query-Driven Feed Ranking System with Ad Insertion
Design a low-latency pipeline that blends organic search results with sponsored content, balancing user engagement and revenue at 50k QPS.
System Designrankingadssearchmulti-stage-funnel - System DesignHardModel answerWindowed Aggregation Pipeline for Calendar Event Logs
Design a Spark/MapReduce pipeline that computes rolling 15-minute concurrent meeting counts and room utilization from a large-scale event log.
System Designbig-datasparkmapreducewindowed-aggregation - System DesignHardModel answerDesign a Governed AI Agent for Automated Trade Execution
Design a safety-first, ML-driven order generation system with deterministic validation gates, idempotent execution, and a fully replayable audit trail.
System Designagentic-systemsfinancial-infrastructurerisk-managementaudit-logging - System DesignHardModel answerYear-Long Ad Click Aggregation with External Logging Integration
Design an aggregator that answers queries over a rolling one-year window of ad clicks, ingesting from an existing logging API rather than a real-time stream.
System Designaggregationdata-pipelinestimeseriesdeduplication - System DesignMediumModel answerTaming Flaky Regressions and Sharpening Failure Classification
Design an acceptance strategy for non-deterministic test output, then build a classification scheme that goes beyond pass/fail to drive precise triage.
System DesignQAregression testingtest reliabilitydefect triage