KatInterview

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

System Design Interview Problems

Practice 5979 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.

5979
Problems
2215
Auto-graded
15
Topics
273
Added today

Showing 211–240 of 1133 results

  • System DesignHardModel answer
    Troubleshooting a Distributed Cache Degradation Incident

    Walk through an end-to-end incident response plan for high cache misses and service latency, covering triage, observability, hypothesis testing, mitigations, and post-incident RCA.

    System Designcachingincident-responsedistributed-systemsobservability
  • System DesignMediumModel answer
    Design a Secure User Registration and Authentication Service

    Architect an in-house email/password signup and login system emphasizing secure password storage, API contract design, session state management, and edge-case handling.

    System Designauthenticationsecurityapi-designdatabase-design
  • System DesignMediumModel answer
    Build a Tenant-Isolated Platform for Selling and Streaming Courses

    Design a SaaS learning platform where organizations run separate course catalogs, learners buy access via an external payment provider, and prerequisite rules gate enrollment.

    System Designsystem-designmulti-tenancypaymentsidempotency
  • System DesignHardModel answer
    Design a Real-Time Ride-Matching Platform and a Price-Alert Service

    Architect two scalable backend platforms: a low-latency, geo-partitioned ride-hailing system and an asynchronous, queue-decoupled price tracking and notification pipeline.

    System Designsystem-designdistributed-systemsgeospatialevent-driven
  • System DesignMediumModel answer
    Walk Through and Justify a System You Built From Scratch

    Open-ended round: describe a significant system you personally owned, then justify its design, technology choices and hardest problems while an interviewer questions each decision.

    System Designproject-deep-divearchitecturetrade-offsownership
  • System DesignMediumModel answer
    Strategy Review of a Four-Sided Short-Video Platform

    Analyze a short-video platform as a four-sided marketplace of viewers, creators, advertisers and merchants, then propose and defend a 12-month strategy with metrics and trade-offs.

    System Designproduct-strategyplatform-ecosystemmarketplacemetrics
  • System DesignMediumModel answer
    Token Budgeting and Context Assembly for a Document-Analysis LLM

    Design a middleware that packs prompt, history, retrieved passages and tool results into a 32k-token window with prioritization, citations, injection isolation and fallbacks.

    System Designllmragcontext-windowprompt-injection
  • System DesignMediumModel answer
    Python Deep Dive: Runtime Mechanics, Generators, Concurrency, and Contexts

    Analyze Python runtime behaviors including mutable defaults, generator execution and cleanup, GIL-bound concurrency choices, and custom context manager protocols.

    System Designpythonconcurrencymemory-managementruntime-mechanics
  • System DesignMediumModel answer
    Build a Multi-Tenant Task Tracker API at Scale

    Design a backend for a personal task manager serving millions, covering API contracts and versioning, tenant isolation, per-user throttling, caching, and data partitioning.

    System Designsystem-designrest-apirate-limitingcaching
  • System DesignMediumModel answer
    Reservation Service Design: REST Endpoints, Schema, Date Inventory

    Design a REST API and database schema for booking a stay or rental, compare per-day and interval inventory models, and support extending an existing reservation.

    System Designrest-apischema-designinventory-modelingconcurrency
  • System DesignHardModel answer
    Design a Scalable Feature Toggling and Targeting Platform

    Design a feature flag service enabling dynamic percentage rollouts, user targeted overrides, and ultra-low latency evaluation across distributed microservices.

    System Designsystem-designdistributed-systemscachingfeature-flags
  • System DesignMediumModel answer
    Defend Database Schema, Index Strategy, and Concurrency Controls

    Justify a database architecture by linking relational schema choices, targeted index designs, CAP theorem partition behaviors, and concurrency strategies to specific system access patterns.

    System Designdatabase-designconcurrencyindexingtransactions
  • System DesignHardModel answer
    Billing-Grade Click Event Pipeline at 10M Events per Second

    Design a pipeline that records ad clicks at extreme scale, drops repeat clicks within 30 seconds, serves windowed counts per ad, and never loses billable data.

    System Designsystem-designstreamingkafkadeduplication
  • System DesignHardModel answer
    Cloud Network, Fleet Operations, Shared Files and SSO Blueprint

    Plan a layered cloud network for 2,000 servers with IP sizing, unified Linux and Windows operations, shared file storage, and single sign-on across services.

    System Designvpcnetworkingcidr-planningsystems-management
  • System DesignHardModel answer
    Versioned Prompt and Config Control for a Production RAG Service

    Design a system that versions LLM prompts, models, retrieval and decoding settings, rolls changes out gradually, traces every request to its exact config, and rolls back instantly.

    System Designllm-opsragconfig-managementcanary-rollout
  • System DesignHardModel answer
    Design a Container Job Scheduler and Telemetry Platform

    Design a distributed container execution system featuring resource-constrained scheduling, job lifecycle management, self-fencing node agents, and scalable metric ingestion.

    System Designsystem-designkubernetesdistributed-systemsmetrics
  • System DesignMediumModel answer
    Per-User Throttling for a Multiplayer Game API at Scale

    Design a distributed service that caps each user's request volume per rolling minute across many app servers, rejecting excess calls with HTTP 429 while staying fast and available.

    System Designrate-limitingdistributed-systemsredissliding-window
  • System DesignHardModel answer
    Warehouse Schema for a Consumer App's Engagement Events

    Model a high-volume user event stream in a relational warehouse so engagement metrics are cheap to compute, handling duplicates, late data, backfills and incremental rollups.

    System Designdata-modelingpartitioningevent-analyticslate-arriving-data
  • System DesignMediumModel answer
    Building an Async Prompt-to-Clip Rendering Platform on a GPU Fleet

    Design a backend that accepts text prompts, renders short AI-generated videos on a pool of expensive GPUs, and survives bursts, worker crashes, and uneven hardware.

    System Designasync-jobsgpu-schedulingjob-queueautoscaling
  • System DesignMediumModel answer
    Design a Scalable Distributed Mass Email Delivery Engine

    Architect an enterprise marketing dispatch platform supporting timezone-aware scheduling, template rendering, deduplication, fault-tolerant ESP dispatch, and tracking.

    System Designsystem-designdistributed-systemsevent-drivenmessaging
  • System DesignMediumModel answer
    Launch-Time Data Gatherer with Partial Failure Tolerance

    Design an async service that merges four backend calls into one app-startup response, aborting on a critical failure and degrading gracefully on optional ones, within a fixed latency budget.

    System Designasyncresiliencetimeoutsapi-aggregation
  • System DesignMediumModel answer
    Architecting a Distributed Asynchronous Job Execution System

    Design a scalable, fault-tolerant job scheduler that manages delayed execution, recurring tasks, worker leasing, and failure recovery with at-least-once delivery.

    System Designsystem-designdistributed-systemsqueuestask-scheduler
  • System DesignMediumModel answer
    Choosing a Concurrency Model for a CPU-Heavy Image Resizer

    Decide between threads, processes, or a hybrid for a CPU-bound image preprocessing service, weighing memory, GIL limits, IPC cost, crash isolation and how to benchmark.

    System Designconcurrencythreads-vs-processesshared-memorygil
  • System DesignMediumModel answer
    Building a Flash-Sale Seat Booking Platform

    Design a booking backend for hot live events that never double-sells a seat, holds seats briefly during checkout, guarantees tickets after successful payment, and fairly offers released seats to a waitlist.

    System Designsystem-designconcurrencydistributed-systemspayments
  • System DesignMediumModel answer
    Unified Shipping Platform Across Several Courier Services

    Design a backend that lets a retailer rate, buy labels, and track parcels across multiple couriers behind a single internal API, with safe retries and fault isolation.

    System Designsystem-designapi-designidempotencythird-party-integration
  • System DesignHardModel answer
    Designing a Firmware Telemetry and Automated Release Validation Platform

    Design a scalable architecture for validating hardware telemetry, enforcing schema contracts, and orchestrating automated rollout/rollback decisions based on fleet health metrics.

    System Designsystem-designtelemetrystreamingrelease-engineering
  • System DesignHardModel answer
    Resilient Rate Control and Recovery for Distributed LLM Pipelines

    Design a rate-aware ingestion engine and fault-tolerant checkpointing architecture for massive LLM DAG workflows facing strict provider quotas and ambiguous request failures.

    System Designsystem-designdistributed-systemsfault-tolerancerate-limiting
  • System DesignMediumModel answer
    Walk Through and Defend the Architecture of a System You Built

    Explain a production service you own end to end, then defend its data flow, storage, failure handling and trade-offs as an interviewer probes the weakest points.

    System Designsystem-designtechnical-deep-divearchitecturetrade-offs
  • System DesignMediumModel answer
    Triaging an Outage from Giant Logs, Then Building Log Search

    Find the cause of a production failure using only SSH and huge log files, then design a centralized logging platform and justify the storage and cost trade-offs.

    System Designloggingobservabilityincident-responselinux-cli
  • System DesignMediumModel answer
    Processes vs Threads: Trade-offs and When to Use Each

    Explain how OS processes and threads differ in isolation, scheduling, switching cost, communication, failure and security, and justify which to choose for real production services.

    System Designoperating-systemsconcurrencyprocessesthreads