KatInterview

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

System Design Interview Problems

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

6000
Problems
2221
Auto-graded
15
Topics
273
Added today

Showing 541–570 of 1139 results

  • System DesignHardModel answer
    Offline Audio Moderation Pipeline: End-to-End Architecture

    Design a batch pipeline that screens stored audio files for policy violations, labels each as safe, unsafe or uncertain, and routes uncertain ones to human reviewers.

    System Designml-system-designaudiopipeline-orchestrationhuman-in-the-loop
  • System DesignHardModel answer
    Designing a Continuously Refreshed Merchant Attribute Store

    Design a platform that links merchants to external sources, refreshes their attributes on schedule, resolves conflicts with provenance, and serves low-latency reads even when upstreams fail.

    System Designsystem-designdata-pipelinesentity-resolutionrate-limiting
  • System DesignMediumModel answer
    Design a Versioned Product Catalog with Atomic Launches

    Design a multi-tenant catalog backend with draft/publish workflows, grouped launches, search, and safe rollback, serving 100K peak read QPS at P99 under 25 ms.

    System Designsystem-designcqrsversioningcaching
  • System DesignMediumModel answer
    Fixing a Type-Ahead Search Box That Shows Stale Results

    Diagnose why a React search component sometimes displays results for an older query, then fix it with effect cleanup and request cancellation, and prove the fix with a deterministic test.

    System Designreactrace-conditionabortcontrolleruseeffect
  • System DesignMediumModel answer
    Time-Indexed Service for Multi-Topic Vehicle Recording Files

    Design and build a service that ingests recorded vehicle sessions from MCAP files, stores them with a time index, and exposes APIs to list sessions and fetch messages by timestamp.

    System Designmcapprotobufsqlitetime-index
  • System DesignHardModel answer
    Design a GPU Test Pipeline in Jenkins Across Driver Matrices

    Design a Jenkins-based CI system that builds a graphics stack and runs GPU tests across hardware, driver and OS combinations, with flake handling, gating and safe driver rollouts.

    System Designjenkinsci-cdgputest-sharding
  • System DesignMediumModel answer
    Building a Crash-Safe Shared Audit Log Writer in Java

    Design a thread-safe file logger whose records never interleave, and explain how fsync, batching and OS caching trade throughput against durability.

    System Designconcurrencyfile-iodurabilityfsync
  • System DesignMediumModel answer
    Designing an Analytics Data Pipeline Across Cloud, Hybrid and Multi-Cloud

    Design a pipeline from operational systems to analytics, then adapt it for a hybrid on-prem and cloud setup and map it onto AWS and Azure, defending each tool choice.

    System Designdata-pipelinehybrid-cloudawsazure
  • System DesignHardModel answer
    Critiquing a Flag Service Proposal for an Inference API

    Review a proposed runtime toggle service that polls one database, then rank its weaknesses and explain how to deliver the feedback to the author.

    System Designdesign-reviewfeature-flagsreliabilityfailure-modes
  • System DesignHardModel answer
    Cycle-Safe Editing and Loop Limits for a Workflow Engine

    Design a service that blocks cyclic dependency edits, pins each run to a stable graph version, and caps retries and dynamic expansion so execution always terminates.

    System Designsystem-designdagcycle-detectionworkflow-engine
  • System DesignMediumModel answer
    Trending Pages Leaderboard: Top K URLs in a Rolling Window

    Design a pipeline that ranks the K most-viewed URLs over a rolling time window, covering partitioned counting, correct merging, viral-URL skew, late events, and exact versus approximate counts.

    System Designsystem-designstreamingtop-ksliding-window
  • System DesignMediumModel answer
    Messaging Backend with a Tiered, Partitioned Cache Layer

    Design a durable, ordered, deduplicated messaging backend for DMs and small groups, and explain how a local and distributed cache is partitioned and kept correct under failures.

    System Designsystem-designcachingmessagingconsistent-hashing
  • System DesignMediumModel answer
    Build a Post Comment Thread with Reliable Alerts

    Design the comment feature for an existing social app: APIs, schema, pagination, durable notification fan-out, and how to scale reads and writes when one post goes viral.

    System Designsystem-designcommentsnotificationspagination
  • System DesignMediumModel answer
    Design a Freight Yard Platform for Dock Slots, Routes and Totes

    Design a multi-warehouse platform that books dock doors, plans and replans truck routes, and tracks containers from noisy scan events while keeping inventory consistent.

    System Designsystem-designevent-drivenschedulingvehicle-routing
  • System DesignHardModel answer
    Build a Multi-Model Inference Workflow Platform for External Clients

    Design a platform that chains independently deployed ML models into reliable workflows, covering orchestration, schemas, caching, versioning, failure handling, observability, and tenant isolation.

    System Designml-infrastructureorchestrationmodel-servingmulti-tenancy
  • System DesignHardModel answer
    Geo-Targeted Emergency Alerts for Travelers at Scale

    Design a platform that detects natural-disaster zones from external feeds and quickly alerts travelers who are in, or about to arrive in, the affected area without duplicate messages.

    System Designgeospatial-indexingnotificationskafkaidempotency
  • System DesignHardModel answer
    Low-Latency Personalized Feed Ranking Service Design

    Design an end-to-end personalized feed service for millions of users: data pipelines, feature consistency, retrieval and ranking, cold start, latency budgets, experiments, and failure handling.

    System Designml-system-designrecommendationfeature-storecandidate-generation
  • System DesignMediumModel answer
    How TCP Opens a Connection: SYN, SYN-ACK, ACK and Lost Packets

    Describe how TCP establishes a connection, including state changes, sequence numbers, a lost final ACK, and the limits of what a completed handshake proves.

    System Designtcpnetworkinghandshakesockets
  • System DesignHardModel answer
    Feature Flag Delivery and Live Experiment Metrics at Scale

    Design a system that ships versioned feature flags to 10M devices with fast global rollback, plus a streaming pipeline that computes per-version click-through rates in near real time.

    System Designsystem-designfeature-flagscdnstream-processing
  • System DesignMediumModel answer
    Tracing a Link Tap Through a Large Social Platform

    Explain what happens from the moment a user taps a link in a social app feed until the destination renders, covering client, network, backend, security, privacy and monitoring.

    System Designsystem-designnetworkingweb-performancesecurity
  • System DesignHardModel answer
    Org Chart Service: Hierarchy Storage and Safe Manager Moves

    Design a service for a large company's reporting structure that serves chain and subtree lookups quickly and keeps reporting lines acyclic under concurrent reorganizations.

    System Designsystem-designhierarchyclosure-tableconcurrency
  • System DesignHardModel answer
    Fundraising Payments Backend: No Lost or Double Gifts

    Design a charity fundraising service that takes one-time and recurring gifts through a third-party payment processor, with exact amounts, no duplicate charges, and survival of traffic surges.

    System Designsystem-designpaymentsidempotencyledger
  • System DesignMediumModel answer
    Live Bidding on Creator Posts: Hot-Auction Backend Design

    Design a backend where creators run timed auctions on posts, bids are ordered correctly under extreme contention, and millions of watchers see the leading bid within a fraction of a second.

    System Designsystem-designconcurrency-controlreal-timewebsockets
  • System DesignMediumModel answer
    Seatback Music and Flight-Tracker App for a Tiny Armrest Display

    Design a resilient, accessible, modular seat-unit app on a 4-inch armrest touchscreen, covering telemetry delivery, offline music sync, shake-tolerant input, lazy module loading and KPIs.

    System Designclient-architectureoffline-firstaccessibilityui-design
  • System DesignMediumModel answer
    Build a Log Collection REST Service for a Fleet of Cameras

    Design and code a small HTTP service where cameras push log entries and users fetch them by camera, time range, or severity, with validation, status codes, and thread safety.

    System Designrest-apiflaskhttp-status-codesconcurrency
  • System DesignMediumModel answer
    Live Fleet Proximity Lookup with Eligibility Filters

    Design a service that ingests per-second robotaxi telemetry and answers low-latency radius searches filtered by vehicle eligibility, tolerating late and duplicate packets.

    System Designgeospatial-indexstreaming-ingestionkafkah3
  • System DesignMediumModel answer
    Building a Concurrent Per-Client Throttling Service at Scale

    Design a throttling component that caps each client's request rate under heavy concurrency and millions of checks per second, then extend it across many servers.

    System Designrate-limitingtoken-bucketconcurrencydistributed-systems
  • System DesignMediumModel answer
    Merchant Catalog Service: Full-Dump Feeds and Pinned Admin Edits

    Design a catalog service fed by full retailer snapshot files, serving 11,000 QPS under 400 ms, where admin attribute overrides persist through retailer updates and deletions.

    System Designsystem-designdata-modelingingestion-pipelinecaching
  • System DesignMediumModel answer
    Designing a Document Q&A Retrieval Backend with Pluggable Grading

    Design a RAG ingestion pipeline, a swappable response-grading component using dependency inversion, and an efficient top-k structure for ranking retrieved chunks.

    System Designragvector-databasesoliddependency-inversion
  • System DesignMediumModel answer
    Design a Recurring Task Scheduler That Never Skips a Run

    Design a service that stores 100K recurring cron-style tasks, keeps up to 10K runs in flight, and guarantees each scheduled fire executes at least once despite crashes.

    System Designsystem-designschedulercronat-least-once