KatInterview

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

System Design Interview Problems

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

5981
Problems
2215
Auto-graded
15
Topics
272
Added today

Showing 241–270 of 1133 results

  • System DesignEasyModel answer
    Build a Scheduled Hourly Feed of Public Weather Observations

    Design a pipeline that polls a public weather provider for thousands of locations each hour, stores normalized history without duplicates, and serves fresh data reliably.

    System Designsystem-designdata-ingestionschedulingrate-limiting
  • System DesignMediumModel answer
    Triaging a CPU Saturation Incident on a Customer-Facing API

    Talk through how you would scope, diagnose, mitigate and follow up when a revenue-critical public API suddenly runs near 100% CPU, and justify your choice among rollback, scaling, throttling and queues.

    System Designincident-responsetroubleshootingprofilingcapacity
  • System DesignHardModel answer
    Build a Read-Optimized Geo-Replicated Key-Value Database

    Design a multi-region key-value database tuned for heavy reads, covering storage engine, sharding, replication, consistency, failure handling, hotspots and capacity planning.

    System Designdistributed-systemskey-value-storereplicationconsistency
  • System DesignMediumModel answer
    Design a Real-Time Event Venue Booking Platform Architecture

    Design a high-level architecture for an event venue reservation platform, focusing on double-booking prevention, concurrency control, and interval-based storage.

    System Designsystem-designconcurrencydatabase-designdistributed-systems
  • System DesignMediumModel answer
    Microservice Security Architecture: Identity, Secrets, and Response

    Design an enterprise microservice security blueprint covering mTLS workload identity, dynamic secret management, zero-downtime rotation, and immediate secret compromise containment.

    System Designsecuritymtlsvaultsecrets-management
  • System DesignMediumModel answer
    Workout Tracker Backend: Live Routes, Period Rankings, Social Boards

    Design the backend for a workout-tracking app with real-time route sharing to followers, top-workout queries over date ranges, and ranked boards of aggregated user stats.

    System Designsystem-designleaderboardsredisstreaming
  • System DesignMediumModel answer
    Choosing Worker Count When Merge Cost Grows Quadratically

    Pick the worker count that best minimizes total runtime when compute scales as n/k and combining partial results costs k squared, then justify it with analysis and trade-offs.

    System Designdistributed-systemsscalabilityasymptotic-analysisparallelism
  • System DesignHardModel answer
    Ultra-Low-Latency Quoting Platform: Colo Core and Remote Control Plane

    Architect a market-making stack for futures and options with a co-located hot path, microsecond latency targets, hard safety controls, and a remote operations site.

    System Designlow-latencymarket-makingkernel-bypasslock-free
  • System DesignMediumModel answer
    Shipping a Fraud Scoring Model: Rollout, Observability, 50 ms Tail

    Plan how to release a fraud classifier to production, watch it over time, and bring its online p99 latency under 50 ms without giving up much accuracy.

    System Designmlopsmodel-deploymentmonitoringlatency
  • System DesignHardModel answer
    Building a Fair-Play System for a Competitive Online Game

    Design an end-to-end approach for spotting cheaters in a live multiplayer game, deterring them, and applying penalties while handling wrongful bans and restoring player trust.

    System Designanti-cheatfraud-detectiontrust-and-safetystreaming-pipeline
  • System DesignMediumModel answer
    Design a Memory-Bounded Real-Time URL Analytics Engine

    Architect a memory-efficient system to compute exact all-time and probabilistic 24-hour rolling Top-K URLs from high-velocity web request logs.

    System Designsystem-designstreamingdata-structurestop-k
  • System DesignMediumModel answer
    SystemVerilog Verification Fundamentals and Constraint Modeling

    Master key SystemVerilog verification concepts including concurrency, constraint solver semantics, assertions, OOP, and hardware verification testbench architectures.

    System DesignSystemVerilogUVMHardware VerificationSVA
  • System DesignMediumModel answer
    Build a Table Booking Platform for Many Restaurants

    Design a multi-restaurant table booking backend that prevents double-booking, serves fast availability queries, survives peak-hour spikes, and keeps a full audit trail.

    System Designsystem-designconcurrencydata-modelingcaching
  • System DesignMediumModel answer
    Fast Fan-Out of a 500 GB Checkpoint Across a GPU Fleet

    Work out the minimum time to push a 500 GB model checkpoint to 100-1,000 machines with 10 Gbps shared links, then design a chunked peer-to-peer rollout that approaches it.

    System Designsystem-designnetworkingpeer-to-peerbandwidth
  • System DesignMediumModel answer
    From Address Bar to Pixels: Tracing a Secure Page Load

    Describe the full journey of a secure page request, from the browser's first lookups through DNS, connection setup, edge and backend handling, to the final rendering of the page.

    System Designnetworkingdnstlshttp
  • System DesignHardModel answer
    Designing a Scalable Distributed Key-Value Store

    Architect a fault-tolerant, horizontally scalable key-value storage system utilizing consistent hashing, tunable quorums, and automated data rebalancing.

    System Designsystem-designconsistent-hashingdistributed-systemsfault-tolerance
  • System DesignMediumModel answer
    Investigate Autonomous Fleet Charging Failure and Degradation

    Analyze noisy charging logs, define unbiased reliability metrics, formulate root cause logic in SQL, and design a debugging playbook for slow-charging sessions.

    System Designsystem-designdata-engineeringroot-cause-analysismetrics
  • System DesignMediumModel answer
    Design a Real-Time Gaming Leaderboard Engine

    Architect a high-throughput, low-latency leaderboard platform handling tens of millions of active players and millions of concurrent score updates.

    System Designsystem-designrediscachingdistributed-systems
  • System DesignMediumModel answer
    Design a Real-Time IP Blacklist and CIDR Lookup Engine

    Design a scalable, low-latency API and propagation architecture to block malicious IP addresses and CIDR ranges across distributed edge nodes.

    System Designsystem-designcachingnetworkingdistributed-systems
  • System DesignMediumModel answer
    Expose a Local FastAPI Service as Tools for a Voice AI Agent

    Design and harden two HTTP tool endpoints that let a hosted conversational agent store a user's reported problem and recite earlier ones, with a local server made reachable.

    System Designfastapillm-toolsapi-designidempotency
  • System DesignMediumModel answer
    Hierarchical Sliding-Window Throttle for Outbound Alerts

    Design a distributed throttle that accepts or rejects alerts using exact 10-minute rolling limits for a user, their team and their company, atomically and correctly across many stateless servers.

    System Designrate-limitingdistributed-systemssliding-windowatomicity
  • System DesignMediumModel answer
    Identify Duplicate Files Across a File System and Analyze System Bottlenecks

    Design an algorithm to find all groups of identical files in a directory tree while handling massive files, edge cases, and analyzing CPU versus disk I/O performance.

    System Designfile-systemhashingio-performanceconcurrency
  • System DesignHardModel answer
    Design a PDF-to-Markdown Document Conversion System

    Design a scalable, multi-stage document processing architecture to transform complex PDFs into Markdown across synchronous streaming and asynchronous batch workflows.

    System Designsystem-designmachine-learningdistributed-systemsstreaming
  • System DesignMediumModel answer
    Build a Multi-User Live Text Editor Backend

    Design a backend that lets many people edit one document at once with fast sync, offline tolerance, durable storage, and version history.

    System Designsystem-designreal-timecrdtoperational-transformation
  • System DesignMediumModel answer
    Crash-Safe Refund Pipeline as a Resumable Task Graph

    Design a fault-tolerant orchestration service that runs a refund as a dependency graph of steps, survives worker crashes, avoids double refunds, and handles failure and versioning.

    System Designworkflow-engineidempotencyoutbox-patternsaga
  • System DesignMediumModel answer
    Build a Petabyte-Scale Blob Storage Service

    Design a distributed blob storage service with put, get, delete and list, covering metadata, data placement, multipart uploads and the trade-off between replication and erasure coding.

    System Designsystem-designdistributed-storageerasure-codingpartitioning
  • System DesignHardModel answer
    Build a Fault-Tolerant Money Transfer Ledger at Scale

    Design a distributed ledger for account-to-account transfers that stays strictly consistent, avoids overdrafts and duplicate charges, and survives crashes at any point.

    System Designsystem-designledgeracididempotency
  • System DesignHardModel answer
    Multi-Tenant File Vault with Per-User Limits and Compression

    Design a multi-user file storage backend that handles uploads, downloads and copies, enforces per-user space limits, and transparently compresses data, with durability, security and testing covered.

    System Designsystem-designstoragequotascompression
  • System DesignMediumModel answer
    Design a Persistent Local Key-Value Store

    Architect an in-memory key-value cache backed by persistent disk storage, focusing on crash resilience, append-only logging, compaction, and high-volume value optimizations.

    System Designsystem-designcachingstoragedurability
  • System DesignMediumModel answer
    Design a Multi-Agent AI Chat Platform for Financial Services

    Design a scalable and secure backend system for an LLM-powered multi-agent financial assistant with real-time streaming, conversation persistence, and strict compliance controls.

    System Designsystem-designllm-architecturestreamingdistributed-systems