KatInterview

practice a little every day — you've got this ♡

System Design Interview Problems

Practice 5987 original coding, SQL, system design, machine learning and behavioral problems across 15 topics. Coding and SQL problems run against hidden test cases right in your browser; every problem has hints and a worked solution, free.

5987
Problems
2219
Auto-graded
15
Topics
270
Added today

Showing 811–840 of 1134 results

  • System DesignMediumModel answer
    Design a Threaded Annotation Layer for a Live Collaborative Canvas

    Design the backend and real-time infrastructure for a threaded comment system that pins to canvas coordinates or live objects on a shared infinite whiteboard.

    System Designreal-timewebsocketsfan-outpub-sub
  • System DesignMediumModel answer
    Design a Real-Time Article Aggregation Platform

    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.

    System Designsystem-designdistributed-systemscachingsearch
  • System DesignMediumModel answer
    Design a Small-String-Optimized Buffer in C++

    Evaluate low-level C++ skills: memory layout, copy semantics, alignment/padding, and how SSO eliminates heap allocations for short strings.

    System DesignC++memory-managementsmall-string-optimizationcache
  • System DesignMediumModel answer
    Design a Permission-Gated Agentic Research Assistant

    Architect 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.

    System Designagentic-systemsRBACLLMaudit-logging
  • System DesignMediumModel answer
    Design a High-Throughput IoT Telemetry Ingestion Pipeline

    Design 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.

    System Designdistributed-systemsstreamingkafkascalability
  • System DesignHardModel answer
    Design a Prefix Autocomplete Service with Live Trend Signals

    Design a distributed autocomplete backend that returns the top 10 popularity-ranked query completions for any typed prefix in under 30ms at global scale.

    System Designautocompletedistributed-systemscachingstreaming
  • System DesignMediumModel answer
    Build a Multi-User Calendar with Recurring Events and Reminders

    Design the backend for a calendar platform that handles event creation, recurrence rules, shared access permissions, and scalable notification delivery.

    System Designsystem-designschedulingdatabasesdistributed-systems
  • System DesignMediumModel answer
    API Gateway Traffic Filtering Across Multiple Regions

    Design a system that blocks untrusted IP addresses at an API gateway, handles rule versioning and expiration, and replicates enforcement state across data centers.

    System Designsystem-designnetworkingdistributed-systems
  • System DesignHardModel answer
    Build a GPU-Accelerated Graphics Test Pipeline in Docker

    Design 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.

    System Designdockergpuci-cdgraphics
  • System DesignMediumModel answer
    Diagnose an SSH Service That Stopped Accepting Connections

    Design a layered, evidence-driven diagnostic plan to find why an SSH daemon is unreachable, from the client all the way down to daemon logs.

    System Designlinuxnetworkingsshsre
  • System DesignMediumModel answer
    Design a Telemetry System for an Internal Developer Platform

    Design the data pipeline, key metrics, and adoption strategy for an internal compute platform used by hundreds of engineering teams.

    System Designtelemetrydeveloper-platformsmetricsdata-pipeline
  • System DesignHardModel answer
    Design a Cloud Storage Quota Accounting Service

    Design a distributed service that tracks per-user byte consumption, enforces storage limits across concurrent multi-part uploads, and reconciles drift against blob storage.

    System Designdistributed-systemsconsistencyconcurrencystorage
  • System DesignMediumModel answer
    Design a Multi-Step Order Processing Pipeline

    Design the backend system that moves a customer order through reservation, payment, fulfillment, and shipping while handling failures and partial states gracefully.

    System Designdistributed-systemsevent-drivenidempotencysaga-pattern
  • System DesignMediumModel answer
    Building a Resumable Multi-Tenant Partner API Ingestor

    Design an ingestion service that pulls from thousands of heterogeneous partner APIs with resumable checkpoints, raw-first staging, fair per-tenant throttling, and replayable normalization.

    System Designsystem-designdata-ingestionrate-limitingidempotency
  • System DesignHardModel answer
    Design a Real-Time Collaborative Spreadsheet Service

    Design a multi-user spreadsheet system where concurrent editors stay in sync, conflicts resolve correctly, and clients recover cleanly after disconnects.

    System Designreal-timecollaborative editingconflict resolutionOT
  • System DesignHardModel answer
    Design an Immutable Multi-Tenant Audit Log System

    Design a compliance audit logging platform that ingests events at scale, proves tamper-evidence cryptographically, detects sequence gaps, and serves fast investigation queries.

    System Designaudit-loggingcryptographymulti-tenancystream-processing
  • System DesignMediumModel answer
    Debugging Multi-Step LLM Agent Tool Execution at Scale

    Build an observability system to capture, diagnose, and query failures in LLM agent tool calls across retries and execution phases.

    System Designdistributed-systemsobservabilityllm-agentstracing
  • System DesignMediumModel answer
    Autocomplete Input with Hand-Rolled Debounce

    Build 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.

    System Designreactdebounceasyncaccessibility
  • System DesignMediumModel answer
    Design a Personalized Article Feed Backed by Publisher APIs

    Design 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.

    System Designsystem-designfeedpollingpagination
  • System DesignMediumModel answer
    Building a Non-Blocking In-Process Publish/Subscribe Broker

    Design 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.

    System Designconcurrencythreadingpub-subbackpressure
  • System DesignHardModel answer
    Design a Table Booking Platform for Restaurants

    Design 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.

    System Designsystem-designconcurrencydistributed-systemsdatabase
  • System DesignMediumModel answer
    Serving Inventory From Spinning Disks With Tiny RAM

    Design 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.

    System Designstorage-enginecachingb-treewrite-ahead-log
  • System DesignHardModel answer
    Designing a Prepaid Credit Meter for Shared GPU Clusters

    Design a multi-tenant system that reserves, meters, and settles GPU credits across many nodes, with hierarchical budgets, idempotent APIs, and scheduler integration.

    System Designledgermeteringmulti-tenancyidempotency
  • System DesignMediumModel answer
    Design a Multi-Tenant AI Receptionist for Voice and Chat

    Design a platform where businesses deploy an AI receptionist over phone and chat, using approved knowledge, permitted actions, and live human handoff.

    System Designaimulti-tenantreal-timeconversational-ai
  • System DesignHardModel answer
    JavaScript Concurrency and React's useState vs useRef

    Explain how JavaScript achieves concurrency on a single thread, when real parallelism is possible, and how useState and useRef differ in a React component.

    System Designjavascriptreactconcurrencyhooks
  • System DesignHardModel answer
    Build a Multi-Tenant Tag Index That Scales to Billions

    Design a tagging system supporting tag lifecycle, boolean item queries, autocomplete, and high read/write throughput across thousands of tenants.

    System Designsystem-designdistributed-systemsindexingsharding
  • System DesignMediumModel answer
    Fan-Out Aggregation, Retry Logic, and Load Balancer Repair

    Implement 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.

    System Designfault-toleranceload-balancingretry-logicapi-aggregation
  • System DesignMediumModel answer
    Build an In-Memory Venue Reservation Engine

    Design data structures and APIs for a reservation system that runs entirely in memory, handles concurrent bookings, and prevents double-reservations.

    System Designconcurrencyin-memorylow-level-design
  • System DesignMediumModel answer
    Build a Wish-List Price Alert System at Scale

    Design 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.

    System Designsystem-designscalabilitydata-modelingalerting
  • System DesignMediumModel answer
    Multi-Step Form State Management in Spring Boot MVC

    Design session-based state persistence, field-level validation with error feedback, and exception handling for a wizard-style form in Spring Boot with Thymeleaf.

    System Designspring-bootweb-frameworkssession-managementvalidation