KatInterview

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

System Design Interview Problems

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

5989
Problems
2219
Auto-graded
15
Topics
271
Added today

Showing 361–390 of 1136 results

  • System DesignMediumModel answer
    Architecting a Fault-Tolerant Payment Gateway Service

    Design an enterprise-grade payment gateway that guarantees at-most-once execution, handles ambiguous network timeouts, and maintains an auditable, immutable ledger.

    System Designsystem-designdistributed-systemsidempotencyevent-driven
  • System DesignMediumModel answer
    Unified Hotel Availability Search Across Three Supplier Feeds

    Design a read-only search service that merges hotel availability from three inconsistent suppliers into one normalized, fault-tolerant response with cross-supplier deduplication.

    System Designsystem-designaggregationresiliencecircuit-breaker
  • System DesignHardModel answer
    Design a Decoupled Online RL Fine-Tuning Pipeline for a Live Chatbot

    Design an asynchronous RL fine-tuning pipeline that improves a deployed chat LLM from live traffic, covering staleness, KL control, reward hacking, safety gates and cost.

    System Designreinforcement-learningrlhfllm-infrastructureoff-policy
  • System DesignMediumModel answer
    Live Metrics Pipeline for a Global Food-Ordering Platform

    Design a streaming backend that serves order counts, revenue and best-selling dishes over 1-hour, 1-day and 7-day windows at 100K orders/s with data no more than 5 seconds stale.

    System Designsystem-designstream-processingkafkaredis
  • System DesignHardModel answer
    Designing Kubernetes Concurrent App Scheduling and Dynamic Node-Signal Extensions

    Architect concurrent pod scheduling under capacity limits and design a custom Kubernetes scheduler plugin that uses real-time node telemetry for placement.

    System Designkubernetesdistributed-systemssystem-designscheduling
  • System DesignMediumModel answer
    Building a Resilient Multiplayer Chess Backend

    Architect a real-time chess platform where each game has one authoritative owner, exactly-once move application, server-driven clocks, fast crash recovery, and low-latency spectator streaming.

    System Designsystem-designwebsocketsfault-toleranceidempotency
  • System DesignHardModel answer
    Design an Automated Code Review Assistant

    Design a scalable ML system to analyze code changes, synthesize context, leverage static tools, and post actionable code review feedback.

    System DesignLLM OrchestrationDeveloper ToolsSystem DesignStatic Analysis
  • System DesignEasyModel answer
    Diagnosing a Kernel OOM Kill in a Containerized JSON Service

    Walk through confirming a kernel OOM kill, cutting memory use of a cache-heavy service without adding RAM, and reading RSS versus VSZ during an investigation.

    System Designlinuxoom-killercgroupsmemory-management
  • System DesignHardModel answer
    Designing a Scalable Mixed-Latency Multi-Tenant Workflow Engine

    Architect a multi-tenant orchestration engine handling high-throughput fast I/O tasks alongside long-running LLM tasks with tenant fairness and tiered state storage.

    System Designsystem-designdistributed-systemsqueuesstorage-architecture
  • System DesignHardModel answer
    Designing Asynchronous Systems: Queues, NoSQL Stores, and Concurrency

    Analyze message queues, delivery semantics, push vs. pull models, NoSQL vs. relational databases, and distributed concurrency controls including deadlock resolution.

    System Designsystem-designmessage-queuesnosqlconcurrency
  • System DesignHardModel answer
    Design a Cloud IDE System for Browser-Based Code Execution

    Architect a cloud-based development environment enabling real-time browser code editing, interactive terminal streaming, sandboxed execution, and workspace state persistence at scale.

    System Designsystem-designcloud-idesandboxingwebsockets
  • System DesignMediumModel answer
    Designing a High-Throughput Order Management & Execution System

    Design a scalable retail brokerage order management system handling limit/market orders, cancellations, concurrency-safe account balances, and edge cases like lost/duplicate fill reports.

    System Designsystem-designdistributed-systemsconcurrencyfintech
  • System DesignMediumModel answer
    Design and Implement a 2x3 React Post Grid with API Integration

    Build a 2x3 React grid component for display feeds, integrate data loading with proper state management, and explain React hook mechanics.

    System Designreactfrontendcss-gridhooks
  • System DesignMediumModel answer
    Design a Real-Time Driver Tracking and Nearby Location Service

    Architect a low-latency ingestion and spatial indexing system for tracking real-time vehicle locations and serving proximity queries at high scale.

    System Designsystem-designgeospatialin-memory-databasestream-processing
  • System DesignHardModel answer
    Design a Collaborative LLM Prompt Workbench with Live Streaming

    Design a multi-tenant web tool where teams author prompts, run them on external LLMs with streamed output, version and compare results, and track cost, latency, and safety.

    System Designsystem-designstreamingmulti-tenancyidempotency
  • System DesignMediumModel answer
    Design an E-Commerce Search and Typeahead System

    Architect a low-latency prefix typeahead and full-catalog product search system capable of handling high traffic spikes and near real-time inventory updates.

    System Designsystem-designautocompletesearchtrie
  • System DesignEasyModel answer
    Design a User Profile Ingestion System: Batch vs. Streaming

    Design an ingestion and processing pipeline for JSON user profiles, comparing batch file arrivals against a real-time event streaming paradigm.

    System Designsystem designbatch processingevent streamingetl
  • System DesignMediumModel answer
    Build a Natural-Language Image Search Service with Access Control

    Design a service that lets users find images from free-text descriptions, handling batch ingestion, joint embeddings, permission filtering, ranking, evaluation, updates, and deletions.

    System Designml-system-designmultimodal-embeddingsvector-searchreranking
  • System DesignMediumModel answer
    Design CI/CD Build Caching System

    Design a distributed build caching system for CI/CD pipelines, covering cache key generation, concurrent upload coordination, and tiered storage architecture.

    System Designsystem-designcachingdistributed-systemsobject-storage
  • System DesignMediumModel answer
    Explaining Disk Usage Discrepancies Between df and du

    Analyze why df and du report different disk space utilization on Linux systems and walk through a step-by-step troubleshooting process.

    System Designlinuxoperating-systemsstoragesre
  • System DesignMediumModel answer
    Design a Telemetry and Log Indexing Engine for Autonomous Vehicles

    Architect a scalable telemetry storage and indexing platform to capture, store, and query petabytes of high-throughput sensor logs efficiently.

    System Designsystem-designdistributed-systemsindexingstorage-tiering
  • System DesignMediumModel answer
    C++ Semantics and GPU Memory Trade-offs: Four Short Answers

    Answer four fundamentals questions: enum and struct behavior in C++, macros versus inline functions, GPU matrix-add kernel design, and optimizing uniform or repeated read-only values.

    System Designcppgpucudamemory-coalescing
  • System DesignMediumModel answer
    Build a Secure Remote Code Grading Service for Contests

    Design a distributed service that safely runs untrusted submissions against hidden tests, returns verdicts reliably, and stays responsive during contest traffic bursts.

    System Designsystem-designsandboxingmessage-queuescalability
  • System DesignMediumModel answer
    Order Gateway Protocol Design for Connecting to a Trading Venue

    Design the session and application messages between an in-house order management system and an external venue, covering dedupe, sequencing, replay and recovery after disconnects.

    System Designsystem-designmessaging-protocolsidempotencyfix-protocol
  • System DesignMediumModel answer
    Build a Reliable Delayed and Immediate Task Runner

    Design a durable service that runs tasks right away or at a future time, and explain how it copes with crashes, retries, duplicates, and the limits of exactly-once execution.

    System Designsystem-designjob-schedulerreliabilityretries
  • System DesignHardModel answer
    Architecting a Scalable, Politeness-Aware Web Crawler

    Design a high-throughput, distributed web crawling system that manages per-domain rate limits, prevents duplicate fetches, and handles network resilience at scale.

    System Designsystem-designdistributed-systemsconcurrencyqueues
  • System DesignEasyModel answer
    Spot the Wrong Claim About HTTP Status Code Classes

    Pick the one false statement among four claims about HTTP status code families, then explain the client-versus-server split and why it matters for retries, alerting, and API design.

    System Designhttpstatus-codesweb-protocolsapi-design
  • System DesignMediumModel answer
    Safety Subsystem for a Warehouse Robot Near People

    Design a real-time perception and decision pipeline that keeps a mobile warehouse robot from hitting workers, covering fusion, a 50 ms latency budget, stop-versus-slow logic, and sensor failures.

    System Designroboticssensor-fusionreal-time-systemssafety-critical
  • System DesignHardModel answer
    Design a Container Assignment System with Compatibility Constraints

    Design an automated container packing platform that optimizes cargo placement under weight, volume, and hazmat rules, supporting async runs, plan overrides, and strict determinism.

    System Designsystem-designdistributed-systemsoptimizationconstraint-programming
  • System DesignMediumModel answer
    Design a Real-Time Collaborative Task List

    Architect a low-latency, real-time shared task list supporting concurrent edits, item reordering, explicit synchronous durability, and reconnection recovery.

    System Designsystem-designwebsocketsreal-timeconcurrency