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 901–930 of 1133 results
Build a high-scale microblogging system supporting post creation, social connections, and personalized feeds with near real-time delivery.
Model answerdistributed-systemscachingdata-modelingscalabilityDesign and implement an asynchronous request coalescer that collects individual key lookups into windowed batches, handles deduplication, and correlates responses.
Model answerasyncbatchingevent-loopconcurrencyThree-part fundamentals question on how pytest fixtures are scoped and torn down, how decorators wrap functions, and how generators stream data lazily.
Model answerpythonpytestgeneratorsdecoratorsDesign a service that queries multiple vendor APIs concurrently, selects the best offer within constraints, and coordinates payment with order placement.
Model answerdistributed-systemssaga-patternidempotencyBuild a system that aggregates streaming location data into grid cells, surfaces high-activity regions, and compare distributed consensus approaches.
Model answerstreamingdistributed-systemsconsensusgeospatialTrace every step a CPU takes to resolve a virtual address — TLB, page-table walk, MMU checks, page faults, and context-switch invalidation.
Model answeroperating-systemsvirtual-memoryTLBMMUBuild a payment platform for retail terminals that authorizes transactions, accepts post-authorization tip adjustments, and settles batches nightly.
Model answerpaymentsdistributed-systemsidempotencybatch-processingDesign an automated testing strategy for a three-endpoint user service that survives frequent deployments without breaking existing behavior.
Model answertestingREST APICI/CDtest automationDesign a system that handles large file uploads with resumability, processes them through async validation and transformation stages, and notifies users of completion.
Model answerdistributed-systemsasync-processingfile-uploadscalabilityAnswer four core software engineering questions covering thread synchronization, memory padding, OOP polymorphism, and idempotent operations.
Model answerconcurrencymemory-layoutobject-oriented-programmingdistributed-systemsDesign a system that reliably ingests high-volume dispute events from external networks and exports a daily batch file to a downstream accounting system.
Model answerdistributed-systemsdata-pipelineidempotencybatch-exportDesign a backend system handling 100k reads/sec and 10k booking attempts/sec with sub-200ms latency, preventing double-bookings under viral traffic spikes.
Model answerdistributed-systemsconcurrencyscalabilityconsistencyDesign a scalable service where clients store, retrieve, list, and delete binary objects addressed by key inside named buckets.
Model answerstoragedistributed-systemsreplicationDesign an observability system that ingests high-volume metrics, supports real-time dashboards and historical analysis, and evaluates alerting rules.
Model answertime-seriesobservabilitystreamingdata-modelingExplain why a naive GPU matrix transpose causes uncoalesced memory traffic, then design a tiled shared-memory kernel that achieves coalesced reads and writes.
Model answerGPUmemory-coalescingparallel-computingshared-memoryArchitect a system that stores, processes, and serves user-generated photos and short videos at planetary scale with strong durability, low latency, and controlled cost.
Model answerobject-storageCDNmedia-processingdistributed-systemsDesign a service that enforces per-client request limits across a distributed application, handling 100k+ QPS with single-digit millisecond latency.
Model answerdistributed-systemsrate-limitingredisscalabilityDesign an embedded onboard pipeline that ingests eight surround-view cameras and delivers tracked 3D obstacles, free space, and lane geometry to a motion planner within 40 ms.
Model answerautonomous-vehiclesreal-time-systemscomputer-visionembedded-systemsBuild an in-memory key-value store supporting CRUD, filtered queries, automatic expiration, and historical lookups across four progressive levels.
Model answerdata-structurestime-seriesversioningttlDesign an async notification system for item availability and due-date reminders with durable idempotency and crash recovery.
Model answerasync-tasksidempotencydistributed-systemsDesign a command-line tool that removes duplicate lines from files too large to fit in memory, using external sorting or partitioning.
Model answerexternal-memorydeduplicationsortingscalabilityDesign a distributed inventory service that tracks stock across many locations, handles concurrent reservations without overselling, and pushes availability updates to clients in near real-time.
Model answerdistributed-systemsconcurrencycachingreal-timeContrast two distributed consensus approaches, analyzing their mechanisms for leader election, replication, and fault tolerance to recommend one for a production service.
Model answerdistributed-systemsconsensusfault-tolerancereplicationBuild a dashboard that shows time-series metrics with clear separation between data ingestion delay and query response time.
Model answermonitoringtime-seriesdata-ingestionreal-time-systemsDesign the core feed delivery system for a social platform, focusing on how to balance write amplification against read latency for users with vastly different follower counts.
Model answerfeed generationfan-outcachingdistributed systemsBuild a backend that handles millions of score updates per second, returns a player's exact position plus surrounding ranks in milliseconds, and supports friend-only views.
Model answerleaderboardsscalabilityrankingreal-time-systemsDesign a low-latency system that returns the top-N pieces of content per workspace, ranked by a weighted engagement score, over rolling time windows.
Model answerstreamingaggregationcachingtime-windowsDesign a scalable system to store, index, and stream synchronized sensor recordings from autonomous vehicles, supporting variable-speed playback and metadata filtering.
Model answerstreamingdistributed-systemsdata-modelingcachingImplement a 5-letter, 5-guess word puzzle in React with correct duplicate-letter tile scoring, virtual keyboard state, and clean game-over transitions.
Model answerreacttypescriptgame-logicstate-managementDesign a cursor-paginated API for a large append-only event ledger that avoids offset pitfalls and stays stable under concurrent inserts.
Model answerpaginationapi-designdatabase-indexingscalability