KatInterview

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

System Design Interview Problems

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

5993
Problems
2220
Auto-graded
15
Topics
270
Added today

Showing 721–750 of 1136 results

  • System DesignMediumModel answer
    Design an Activity Recording and Social Feed Service

    Build a mobile service that captures GPS workouts offline, uploads them reliably, and powers a social feed of followers' activities.

    System Designmobile-firstoffline-syncsocial-feedgeospatial
  • System DesignMediumModel answer
    GPU GEMM Speedup Limits and Tiled Memory Strategies

    Apply Amdahl's law to a partially accelerated simulation, then explain GPU tiled matmul and the cost of virtual dispatch.

    System Designamdahls-lawgpumatmulcuda
  • System DesignHardModel answer
    Thread-Safe Tag Index and Online Bookstore Architecture

    Design a concurrent in-memory tagging system with correct multi-index atomicity, then architect a scalable bookstore handling high-read browsing and consistent purchases.

    System Designconcurrencyobject-oriented-designdistributed-systems
  • System DesignHardModel answer
    Investigating and Mitigating Production Latency Spikes

    Walk through triaging a production alert for elevated service latency, from confirming impact to investigating root causes and restoring service.

    System Designobservabilityincident-responseperformanceproduction
  • System DesignMediumModel answer
    Quota & Rate-Limit System for a Mobile AI App

    Design the client-server quota enforcement system for a mobile AI assistant, covering API contract, Android architecture, and multi-device synchronization.

    System Designrate-limitingandroidmobilereal-time
  • System DesignMediumModel answer
    Time-Aware Airport Activity Recommender System

    Design a real-time system that suggests safe activities during airport layovers while guaranteeing travelers never miss their connecting flights.

    System Designreal-time systemsrecommendation systemsmobile architecturerisk management
  • System DesignHardModel answer
    Backend Architecture for a Scalable Group Messaging Platform

    Design the server-side core of an enterprise chat product: APIs, storage, idempotent and ordered message delivery, versioned membership access control, and real-time fan-out at scale.

    System Designmessagingidempotencystoragereal-time-delivery
  • System DesignMediumModel answer
    Build a Policy-Driven Expense Approval Engine

    Design an extensible rule evaluation system that validates expense reports against configurable business policies and returns a structured approval decision.

    System Designobject-oriented designextensibilitystrategy patternpython
  • System DesignMediumModel answer
    Object-Oriented Design of a Minesweeper Game with Per-Cell Mine Probabilities

    Design an OO Minesweeper where each cell carries an independent mine probability, covering initialization, class model, click/print APIs, state transitions, and testability.

    System Designobject-oriented-designstate-machineflood-filldependency-injection
  • System DesignHardModel answer
    Design Data Models and Pipelines for a Robotaxi Fleet

    Design the analytics data model for a remote vehicle assistance function and an end-to-end pipeline for measuring autonomous fleet stability.

    System Designdata modelingpipelinestelemetryreal-time systems
  • System DesignHardModel answer
    Design a Link-Shortening Service with Click Tracking

    Design a distributed URL shortener handling billions of daily redirects with sub-50ms latency and decoupled, accurate click counting.

    System Designdistributed-systemscachingstream-processing
  • System DesignMediumModel answer
    Building a Resilient HTTP Client with Retries and Rate Limiting

    Design and implement a production-grade HTTP client that handles network failures, respects rate limits, and ensures safe retries.

    System Designapi-designerror-handlingdistributed-systems
  • System DesignMediumModel answer
    Double-Entry Ledger with Account Consolidation

    Design an ACID, idempotent, sharded banking ledger that supports transfers, paginated history, and merging one account into another under concurrent traffic.

    System Designsystem-designdistributed-systemstransactionsidempotency
  • System DesignMediumModel answer
    Real-Time Ranking System for Competitive Programming Platform

    Design a leaderboard that tracks millions of users' scores and serves rankings with sub-100ms latency at 50K writes/sec.

    System Designleaderboardredisshardinghigh-throughput
  • System DesignHardModel answer
    Telemetry Pipeline Design for High-Frequency Robotics Fleet Data

    Design an end-to-end pipeline to ingest, validate, store, and query multi-modal sensor streams from a large fleet of autonomous robots at 20 GB/s aggregate throughput.

    System Designstreamingtime-seriesdata-pipelinestorage-tiering
  • System DesignMediumModel answer
    Build a link shortener with unique codes and fast redirect

    Design a service that converts long URLs into compact codes and serves redirects at high throughput with low latency.

    System Designurl-shortenerdistributed-systemscachingscalability
  • System DesignHardModel answer
    Multi-Channel Messaging Platform Design

    Build a platform that routes millions of messages per day across email, SMS, and mobile push, handling both real-time triggers and scheduled campaigns.

    System Designdistributed-systemsmessagingscalabilityqueues
  • System DesignMediumModel answer
    Build a Multi-User Prompt Editor with Versioning and Execution

    Design a system where teams edit prompts collaboratively, snapshot immutable versions, run them against LLMs, and trace results back to exact inputs.

    System Designcollaborationversioningasync-execution
  • System DesignHardModel answer
    Real-Time Sliding Window Visit Counter

    Design a system that tracks website page views over a rolling 60-second window and serves the current count with low latency at high traffic volumes.

    System Designstreamingrediskafkarate-limiting
  • System DesignMediumModel answer
    Design a Secure Multi-Region Log Aggregation Pipeline

    Design a system that collects, encrypts, and stores logs from distributed edge nodes into centralized storage while ensuring confidentiality and integrity.

    System Designdistributed-systemssecurityencryptiondata-pipeline
  • System DesignHardModel answer
    Present and defend a distributed system you personally built

    Walk through a production system you owned end to end — requirements, architecture, data model, scaling, consistency trade-offs, failure modes, and observability — and defend every decision under follow-up questions.

    System Designsystem-designdistributed-systemskafkaownership
  • System DesignMediumModel answer
    Design a Cost-Reduction Gateway for Metered Upstream APIs

    Design a shared proxy that sits between internal microservices and pay-per-call APIs, cutting spend through caching, request collapsing, batching, and budget enforcement.

    System Designcachingrate-limitingmicroservicesapi-gateway
  • System DesignHardModel answer
    Live Market Data Distribution Platform

    Build a streaming architecture to deliver current stock quotes to millions of users with sub-second latency and graceful degradation under load.

    System Designreal-time systemsstreamingpub-subwebsockets
  • System DesignMediumModel answer
    Ad serving platform with experiment assignment and tracking

    Build a system that delivers targeted ads with low latency, tracks engagement events, and supports deterministic A/B test assignment and analysis.

    System Designad-techexperimentationhigh-throughputcaching
  • System DesignMediumModel answer
    Password-Protected Encrypted Key-Value Store

    Design a user-authenticated key-value store where values are encrypted at rest using the user's password, covering key derivation, storage layout, and cryptographic trade-offs.

    System Designcryptographyauthenticationkey-management
  • System DesignMediumModel answer
    Three-Thread Ordered Printer with Condition Variables

    Coordinate three threads with a shared lock and condition variable so they emit the interleaved sequence 0,1,0,2,0,3,… up to n.

    System Designconcurrencysynchronizationcondition-variablesmultithreading
  • System DesignMediumModel answer
    Build a Flight Booking Chat Agent with LLM Tool Calling

    Extend a Python starter script into a terminal chat agent that uses LLM function calling to search flights, register a passenger, and confirm a booking via a three-endpoint REST API.

    System DesignLLMtool-callingREST APIPython
  • System DesignHardModel answer
    Distributed Transposition of a Terabyte-Scale Dense Matrix

    Design a fault-tolerant distributed pipeline that transposes a multi-terabyte float matrix using tiled partitioning, idempotent workers, and verifiable completion tracking.

    System Designdistributed-systemsobject-storagefault-tolerancebatch-processing
  • System DesignMediumModel answer
    Build a Task Scheduler That Grows from Startup to 100x Scale

    Design a job scheduling system supporting one-time and recurring tasks, retries, and observability, then evolve it to handle 100x traffic growth.

    System Designdistributed-systemsschedulingfault-tolerancescalability
  • System DesignHardModel answer
    Design a Crash-Safe High-Throughput Append Log

    Design an embedded append-only log writer that handles thousands of concurrent producers, batches writes efficiently, and recovers cleanly from crashes.

    System Designwrite-ahead logconcurrencydurabilitygroup commit