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 331–360 of 1133 results
Design an object-oriented domain model for managing multi-story parking structures, handling real-time spot assignment, pricing strategies, and concurrency control.
Model answerobject-oriented-designdata-structure-designconcurrencysystem-designDesign a bitemporal data model and low-latency system architecture to track effective-dated trading compliance rules and dynamic security identifier resolutions.
Model answersystem designbitemporaldata modelingfinancial systemsPresent one real data pipeline you built or reworked, linking requirements to design choices, rejected options, replay and backfill handling, a hard failure, and what you would change.
Model answerdata-pipelinearchitecture-tradeoffsbackfillidempotencyDesign a multi-tenant engine that checks card transactions and whole trips against configurable policies, with auditable results and an API that can evolve without breaking clients.
Model answersystem-designrules-enginemulti-tenantapi-designExplain how a Kafka consumer group splits partitions, handles offsets and crashes, scales with consumer count, and behaves during a rebalance.
Model answerkafkaconsumer-groupsrebalancingoffsetsDesign a data model, API, reordering mechanism, and publishing/caching strategy for a fixed 3-tier learning content management system.
Model answersystem-designcachingdatabase-designconcurrencyDesign an in-memory topic subscription platform that handles fast ingestion, interest filtering, sliding-window rate limiting, de-duplication, and sorted feed distribution.
Model answersystem-designdata-structuresrate-limitingpub-subDesign a pipeline where clients send files straight to object storage using scoped signed URLs, with a tracked lifecycle, async scanning and processing, and cleanup of abandoned uploads.
Model answersystem-designobject-storagepresigned-urlsmultipart-uploadDesign a service that fires transfers at a chosen future time, moves money atomically between accounts, and skips any transfer whose source balance is too low at that moment.
Model answersystem-designschedulerpaymentsidempotencyDesign the derived tables and incremental pipeline behind a photo app's KPI dashboard, then extend it with cohort retention, weekly rollups and a change of reporting timezone.
Model answerdata-modelingetlincremental-loadsretentionDesign a read-heavy backend that returns places within a given radius of a coordinate, covering spatial indexing, caching, API shape, capacity math, and availability.
Model answersystem-designgeospatialgeohashquadtreeDesign the hand-off from a courier pay calculation to an external payment service so every courier is paid the correct amount exactly once, even through outages and ambiguous timeouts.
Model answeridempotencyreliabilitypaymentsretriesArchitect a resilient payment platform handling two-phase auth/capture flows, double-entry financial ledgering, and batch settlement reconciliation with downstream gateways.
Model answersystem-designdistributed-systemsfinancial-systemsidempotencyWalk through a non-trivial system you own, from diagram and invariants to scaling, security, SLOs, a real incident, a 10x plan and a hindsight redesign.
Model answersystem-designarchitecture-reviewscalabilityreliabilityDesign a secure, low-latency enterprise AI assistant that performs retrieval-augmented generation across internal data sources and executes tool workflows under strict access controls.
Model answerRAGLLMAccess ControlSystem DesignDesign a workspace-scoped labeling service with REST endpoints, a schema, a search strategy for AND/OR filtering, and handling of concurrency, idempotency and pagination.
Model answerrest-apidata-modelingidempotencypaginationDesign a scalable review, rating, and vote tracking service for a food ordering platform, focusing on data modeling, atomic vote mutations, and read/write path performance.
Model answersystem-designdatabase-designcachingdistributed-systemsOutline a structured debugging methodology for diagnosing search and inventory state discrepancies in full-stack applications using targeted tracing and controlled AI code analysis.
Model answerdebuggingfull-stackapistate-managementArchitect and present a high-volume production system, detailing API flow, query indexing, data partitioning, fault tolerance, and explicit technical trade-offs.
Model answersystem-designdatabase-indexingpartitioningdata-architectureArchitect a MapReduce-based system to process massive calendar datasets and identify mutual free time slots of length d across large organizations.
Model answersystem-designmapreducedistributed-systemsintervalsArchitect a high-throughput news feed system that ingests raw articles, groups duplicate reports into single event clusters, and serves personalized timelines at scale.
Model answersystem-designdata-ingestionclusteringembeddingsArchitect an autonomous, safety-critical traffic signal system featuring real-time actuation, emergency preemption, hardware safety monitors, and central orchestration.
Model answersystem-designdistributed-systemsiotreal-timeWalk through how you would find out whether logging is exhausting a server, restore service safely, and put guardrails in place so the problem cannot return.
Model answerloggingobservabilityincident-responsebackpressureDesign a low-latency, scalable memory layer that lets an LLM assistant remember user facts, retrieve the relevant ones per turn, resolve conflicts, and honor deletion requests.
Model answerllmmemoryvector-searchpersonalizationDesign a robust multi-currency ledger and wallet architecture supporting holds, captures, host payouts, idempotent processing, and automated reconciliation.
Model answersystem-designledgerfintechidempotencyArchitect a low-latency, highly durable workplace chat platform supporting real-time delivery, missed message catch-up, channel fanout, and per-conversation ordering.
Model answersystem-designdistributed-systemswebsocketsdata-modelingDesign authorization boundaries so a multi-tenant document Q&A agent cannot leak data across tenants or sessions, or be steered by injected instructions in uploaded files.
Model answermulti-tenancyragauthorizationprompt-injectionDesign an enterprise-grade payment gateway that guarantees at-most-once execution, handles ambiguous network timeouts, and maintains an auditable, immutable ledger.
Model answersystem-designdistributed-systemsidempotencyevent-drivenDesign a read-only search service that merges hotel availability from three inconsistent suppliers into one normalized, fault-tolerant response with cross-supplier deduplication.
Model answersystem-designaggregationresiliencecircuit-breakerDesign an asynchronous RL fine-tuning pipeline that improves a deployed chat LLM from live traffic, covering staleness, KL control, reward hacking, safety gates and cost.
Model answerreinforcement-learningrlhfllm-infrastructureoff-policy