Topic
System Design interview problems
Scalable services, storage, caching and trade-offs. 1136 original problems, each with a worked model answer.
43 easy723 medium370 hard
Showing 691–720 of 1136 results
Build a resource manager that schedules ML training jobs across on-premises and public cloud GPU clusters with fairness, cost optimization, and reliability.
Model answerdistributed-systemsresource-managementschedulingcloud-infrastructureBuild a service that orchestrates payment transitions through hold, capture, and settlement while handling unreliable gateway responses and ensuring financial correctness.
Model answerdistributed-systemsidempotencystate-machinesfinancial-systemsDesign a layered CLI tool that calls a bearer-token API, validates JSON into records, and idempotently upserts them into a relational table.
Model answerhttp-clientidempotencyupserterror-handlingRank the three biggest five-year threats to a dominant search-and-ads company, pick two tech trends worth tracking, and go deep on one.
Model answerproduct-strategyprioritizationai-agentsmonetizationCompare VPN, ZTNA, and RBI enforcement models, then design a chunk-level secure streaming pipeline for high-bitrate enterprise video under a Zero Trust policy.
Model answerzero-trustmedia-streamingsecurityCDNDesign a platform that polls an external sensor API hourly for ~2,000 U.S. locations and serves current readings with a strict 10-minute freshness guarantee.
Model answeringestion-pipelinecachingrate-limitingidempotencyDiagnose and resolve severe performance degradation in a distributed system after user load doubles, using observability and root-cause analysis.
Model answerperformanceobservabilitydistributed-systemscachingDesign a scalable web platform where users can browse coding problems, run code in a sandboxed environment, and receive automatic judgement across multiple languages.
Model answersystem-designdistributed-systemscode-executionsandboxingBuild a customer-facing chat platform powered by a third-party LLM, handling streaming responses, network interruptions, and provider outages gracefully.
Model answerreal-timemessagingerror-handlingstreamingDesign a layered rate limiter that blunts a traffic flood while keeping legitimate clients and anonymous users productive.
Model answerrate-limitingdistributed-systemsdenial-of-servicesystem-designDesign the client and server for a collaborative text editor where multiple users edit the same document simultaneously and see each other's changes in near real time.
Model answercollaborative editingoperational transformationCRDTsreal-time syncDesign a backend system that ingests and serves large files at scale, handling millions of users with high availability and durability guarantees.
Model answerdistributed-systemsstorageCDNscalabilityExplain the trade-offs between Spark's core APIs, how Spark improves on MapReduce, the role of lazy evaluation, and practical job submission on a managed cluster.
Model answersparkdistributed-systemsdata-engineeringBuild a low-latency system that validates trading orders against risk limits before they leave your network, with atomic resource tracking.
Model answerlow-latencyconcurrencyfinancial-systemsDesign a clean HTTP API that delivers row-by-row binomial coefficients, covering endpoint structure, validation, error contracts, and numeric limits.
Model answerapi-designhttpvalidationerror-handlingDesign and implement an algorithm to find (and safely remove) duplicate files in a directory tree that may exceed available memory.
Model answerhashingfile-systemsdeduplicationscalabilityDesign the backend for a text-to-video service where each job occupies exactly one GPU, covering task lifecycle, fair multi-user queueing, and cancellation at every stage.
Model answersystem-designqueuesdistributed-systemsDesign the components, data flows, and core pricing logic for a ride platform that handles surge, carpooling, fairness constraints, and live experimentation at scale.
Model answerpricingreal-time systemssurgecarpoolingArchitect an ingest-to-query system that handles millions of device messages per second while serving both sub-second dashboards and long-range batch analytics.
Model answerdistributed-systemsstream-processingdata-pipelinetime-seriesDesign a multi-level parking facility with typed spots, entry/exit gates, ticketing, pricing, and availability — covering concurrency, consistency, and failure handling.
Model answersystem-designconcurrencyidempotencystate-machinesImplement a bare-metal HTTP server using only the standard library: request parsing, routing, static files, concurrency, timeouts, and graceful shutdown.
Model answernetworkinghttpconcurrencysystem-designDesign a memory-bounded structure that ranks the most frequent events over a sliding time window under millions of events per second, covering windowing, sketches, ties, and complexity.
Model answerstreamingapproximate-algorithmscount-min-sketchsliding-windowDesign a scalable news aggregation system covering ingestion, deduplication, clustering, personalized feed serving, and operational concerns at global scale.
Model answeringestion pipelinefeed rankingdeduplicationdistributed systemsArchitect a core banking platform covering auth, accounts, ATM flows, intra- and inter-bank transfers, and time-windowed transaction analytics.
Model answerdistributed-systemsconsistencypaymentsledgerDesign the component tree and performance strategy for a search-driven product grid that must handle an arbitrarily large catalog.
Model answerfrontendsearchpaginationperformanceDemonstrate working knowledge of Python 3.8–3.10 syntax additions, GUI and web framework trade-offs, and how CPython handles strings in memory.
Model answerpythonlanguage-fundamentalscpython-internalsecosystemGiven a degraded production host, use top, ps, find, and kill to identify a CPU-hungry process, handle files with hostile names, and terminate it safely.
Model answerlinuxcliprocess-managementdevopsEvaluate NoSQL versus relational storage for a log ingestion system with extreme write throughput and petabyte-scale growth.
Model answerdatabasesscalabilitydata-modelingnosqlWalk through a structured B2B pricing framework covering customer segmentation, value-based vs. cost-plus methods, competitive benchmarking, packaging tiers, and validation experiments.
Model answerproduct-strategyb2b-pricingmonetizationDesign a high-throughput internal logging platform that ingests, indexes, and retains logs from thousands of services with near-real-time search and strict tenant isolation.
Model answerloggingobservabilitydistributed-systemsstream-processing