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 811–840 of 1133 results
Design a scalable system that continuously pulls articles from tens of thousands of publisher feeds, deduplicates and clusters related coverage, and serves personalized ranked feeds under 100ms.
Model answersystem-designdistributed-systemscachingsearchEvaluate low-level C++ skills: memory layout, copy semantics, alignment/padding, and how SSO eliminates heap allocations for short strings.
Model answerC++memory-managementsmall-string-optimizationcacheArchitect an LLM-powered agent for internal analysts that enforces row-level access control, supports durable multi-step workflows, and gates consequential actions behind human approval.
Model answeragentic-systemsRBACLLMaudit-loggingDesign a backend that ingests millions of concurrent device data streams, separating critical alerts from bulk telemetry while explicitly reasoning through availability, scalability, and maintainability trade-offs.
Model answerdistributed-systemsstreamingkafkascalabilityDesign a distributed autocomplete backend that returns the top 10 popularity-ranked query completions for any typed prefix in under 30ms at global scale.
Model answerautocompletedistributed-systemscachingstreamingDesign the backend for a calendar platform that handles event creation, recurrence rules, shared access permissions, and scalable notification delivery.
Model answersystem-designschedulingdatabasesdistributed-systemsDesign a system that blocks untrusted IP addresses at an API gateway, handles rule versioning and expiration, and replicates enforcement state across data centers.
Model answersystem-designnetworkingdistributed-systemsDesign a containerized CI pipeline that runs automated Vulkan/OpenGL render-and-compare tests on a mixed NVIDIA/AMD GPU fleet with reproducibility, security, and fast feedback.
Model answerdockergpuci-cdgraphicsDesign a layered, evidence-driven diagnostic plan to find why an SSH daemon is unreachable, from the client all the way down to daemon logs.
Model answerlinuxnetworkingsshsreDesign the data pipeline, key metrics, and adoption strategy for an internal compute platform used by hundreds of engineering teams.
Model answertelemetrydeveloper-platformsmetricsdata-pipelineDesign a distributed service that tracks per-user byte consumption, enforces storage limits across concurrent multi-part uploads, and reconciles drift against blob storage.
Model answerdistributed-systemsconsistencyconcurrencystorageDesign the backend system that moves a customer order through reservation, payment, fulfillment, and shipping while handling failures and partial states gracefully.
Model answerdistributed-systemsevent-drivenidempotencysaga-patternDesign an ingestion service that pulls from thousands of heterogeneous partner APIs with resumable checkpoints, raw-first staging, fair per-tenant throttling, and replayable normalization.
Model answersystem-designdata-ingestionrate-limitingidempotencyDesign a multi-user spreadsheet system where concurrent editors stay in sync, conflicts resolve correctly, and clients recover cleanly after disconnects.
Model answerreal-timecollaborative editingconflict resolutionOTDesign a compliance audit logging platform that ingests events at scale, proves tamper-evidence cryptographically, detects sequence gaps, and serves fast investigation queries.
Model answeraudit-loggingcryptographymulti-tenancystream-processingBuild an observability system to capture, diagnose, and query failures in LLM agent tool calls across retries and execution phases.
Model answerdistributed-systemsobservabilityllm-agentstracingBuild a search input that fetches and displays suggestions as the user types, using a debounce you write yourself and handling stale responses, keyboard navigation, and cleanup.
Model answerreactdebounceasyncaccessibilityDesign a system that continuously pulls article metadata from third-party publisher APIs and serves each user a ranked, paginated feed based on the publishers and categories they follow.
Model answersystem-designfeedpollingpaginationDesign a thread-safe pub/sub service whose publishers never wait on slow consumers, using per-subscription mailboxes, a snapshot-then-fan-out registry, and clean shutdown.
Model answerconcurrencythreadingpub-subbackpressureDesign a multi-restaurant reservation platform where diners search availability by party size and time, then book, modify, or cancel — without ever double-booking a table.
Model answersystem-designconcurrencydistributed-systemsdatabaseDesign an inventory service on hard drives with little memory: layout records to minimize seeks, pin the index, cache hot items, batch writes, and keep reservations correct.
Model answerstorage-enginecachingb-treewrite-ahead-logDesign a multi-tenant system that reserves, meters, and settles GPU credits across many nodes, with hierarchical budgets, idempotent APIs, and scheduler integration.
Model answerledgermeteringmulti-tenancyidempotencyDesign a platform where businesses deploy an AI receptionist over phone and chat, using approved knowledge, permitted actions, and live human handoff.
Model answeraimulti-tenantreal-timeconversational-aiExplain how JavaScript achieves concurrency on a single thread, when real parallelism is possible, and how useState and useRef differ in a React component.
Model answerjavascriptreactconcurrencyhooksDesign a tagging system supporting tag lifecycle, boolean item queries, autocomplete, and high read/write throughput across thousands of tenants.
Model answersystem-designdistributed-systemsindexingshardingImplement a fault-tolerant multi-source data aggregator with retry handling, then find and fix bugs in a load balancer and extend it with round-robin and consistent hashing.
Model answerfault-toleranceload-balancingretry-logicapi-aggregationDesign data structures and APIs for a reservation system that runs entirely in memory, handles concurrent bookings, and prevents double-reservations.
Model answerconcurrencyin-memorylow-level-designDesign a service where users set a target price on any product and receive a notification the moment the price drops to or below that target.
Model answersystem-designscalabilitydata-modelingalertingDesign session-based state persistence, field-level validation with error feedback, and exception handling for a wizard-style form in Spring Boot with Thymeleaf.
Model answerspring-bootweb-frameworkssession-managementvalidationExplain how C++ smart pointers encode ownership semantics, prevent memory bugs, and compare in runtime cost against raw pointers.
Model answerC++memory-managementRAIIperformance