Topic
System Design interview problems
Scalable services, storage, caching and trade-offs. 1133 original problems, each with a worked model answer.
43 easy720 medium370 hard
Showing 301–330 of 1133 results
Demonstrate core computer science concepts by explaining object-oriented polymorphism, binary search tree mechanics with complexities, and responsible workflows for AI-assisted software engineering.
Model answerobject-oriented-programmingbinary-treesai-toolscs-fundamentalsDesign a social platform where people post photos and short videos, follow each other, and browse a personalized home feed, with attention to media delivery, feed fan-out and trade-offs.
Model answersystem-designfeed-generationcdnfan-outDesign and implement a microservice that handles customer order disputes, applies explicit refund business rules, and prevents duplicate processing.
Model answerAPI DesignData ModelingBusiness LogicState ManagementPlan the browser-side architecture of a live crypto-style exchange screen, covering rendering, state, streaming data, order safety, security, and observability.
Model answerfrontend-architecturewebsocketstate-managementreactDesign a book-selling web platform covering catalog search, cart, checkout and orders, with emphasis on inventory correctness, idempotent payments, caching, and fault tolerance.
Model answersystem-designe-commerceinventoryidempotencyDesign a distributed crawler that fetches pages quickly across many hosts while never overloading any single upstream, with safe retries, deduplication, fairness and monitoring.
Model answersystem-designrate-limitingweb-crawlerdistributed-systemsExplain how to adapt a working in-memory solution when the input becomes far too large, moving from constraints to streaming, external sorting, approximation or distribution.
Model answerscalabilitystreamingexternal-sortfollow-up-questionsDesign a storage-backed service that moves very large files in resumable pieces, checks integrity end to end, serves byte ranges, and only exposes files once fully committed.
Model answersystem-designresumable-uploadobject-storageidempotencyArchitect a scalable, low-latency distributed system for real-time multiplayer chess, clock management, and channel-based chat supporting peak loads.
Model answersystem-designwebsocketsreal-timedistributed-systemsA guide on managing production servers, diagnosing performance degradation, conducting structured incident response, and using Linux inspection utilities.
Model answersreobservabilitylinuxincident-responseDesign a service that accepts tasks, fires them immediately, at a future time or on a cron schedule, runs them on a worker fleet, and tracks each execution reliably.
Model answersystem-designschedulerdistributed-systemscronArchitect an end-to-end Retrieval-Augmented Generation system handling millions of internal documents, low latency, real-time updates, and strict document-level security.
Model answerragvector-searchsystem-designmachine-learningEstimate how many exabytes a worldwide video platform delivers to viewers each day, using viewers, watch time, bitrate and overhead, then validate the result with independent checks.
Model answerfermi-estimationcapacity-planningback-of-envelopebandwidthDesign a shared platform where several teams run distributed GPU training jobs, with all-or-nothing placement, fair quotas, fast failure recovery and a storage layer that avoids I/O stalls.
Model answerml-infrastructuregang-schedulingfault-tolerancecheckpointingBuild a React component that fetches a list from a prop-supplied URL inside useEffect, with correct loading, empty, error and success states and no stale-response bugs.
Model answerreactuseEffectrace-conditionsabortcontrollerDesign the backend for a multi-city on-demand taxi app: dispatch, live driver tracking, dynamic pricing, durable payments and trip records, and resilience at millions of daily users.
Model answersystem-designgeospatial-indexingreal-time-streamingdistributed-systemsCompare C++ and Go for backend work across memory, concurrency, error handling, language design and tooling, and justify which one fits a given service.
Model answercppgolanglanguage-comparisonconcurrencyDesign a pipeline that ingests app events and serves daily and monthly distinct-user counts, with sliced dashboards, correct handling of late data, and sound data-quality and privacy practices.
Model answersystem-designdistinct-countinghyperloglogstreamingDesign a distributed streaming service that reports the K most frequent keys over sliding and tumbling windows, with fast queries, hot-key tolerance and replay-safe results.
Model answerstreamingtop-kcount-min-sketchspace-savingA comprehensive technical overview of essential Java language mechanics, concurrency models, SOLID architecture, and Spring Framework core concepts for backend engineers.
Model answerjavaspringconcurrencysolid-principlesDesign the endpoints, data model, and core flows of a basic messaging service with durable sends, safe retries, ordered history, live push, and catch-up after a dropped connection.
Model answersystem-designapi-designdatabase-schemaidempotencyDesign an asynchronous text/image-to-video platform: job lifecycle, moderation, GPU scheduling, checkpoint-based recovery, and autoscaling for a mixed H100/A100 fleet.
Model answergpu-schedulingdistributed-systemsjob-queuefault-toleranceArchitect a low-latency chat platform supporting 1:1 and large group channels, with real-time state synchronization and live streaming identification of high-activity groups.
Model answersystem-designdistributed-systemswebsocketsstream-processingDesign a platform that tracks a million active events and reliably emails every registrant about reminders, changes, cancellations and follow-ups, covering scale, delivery guarantees and compliance.
Model answersystem-designemail-pipelinemessage-queueschedulerDesign an end-to-end event collection, processing, and storage platform supporting interactive dashboard queries and deep historical analytics.
Model answersystem-designdistributed-systemsevent-drivendata-engineeringDesign a scalable, highly available observability system that ingests 1M data points per second, supports low-latency querying across retention tiers, and executes real-time alert conditions.
Model answersystem-designtime-seriesstream-processingobservabilityArchitect an architecture for video ingestion, parallel adaptive-bitrate transcoding, and low-latency global delivery serving millions of concurrent streams.
Model answersystem-designcdnvideo-streamingdistributed-systemsDesign a high-throughput, fault-tolerant card payment processing network that handles dual-phase payment processing, ledger auditing, and stand-in processing.
Model answersystem-designdistributed-systemspaymentsevent-drivenArchitect a cloud IDE platform with hardware-level sandbox isolation, sub-100ms real-time document collaboration, and multi-tenant resource limits.
Model answersystem-designmulti-tenancysandboxingmicrovmDesign a software traffic distributor that spreads L4 and L7 requests across a backend pool, with health monitoring, sticky sessions, failover, and its own horizontal scaling.
Model answerload-balancinghigh-availabilityhealth-checksconsistent-hashing