KatInterview

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

System Design Interview Problems

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

5995
Problems
2220
Auto-graded
15
Topics
270
Added today

Showing 691–720 of 1136 results

  • System DesignMediumModel answer
    Multi-Cloud GPU Scheduler for Machine Learning Workloads

    Build a resource manager that schedules ML training jobs across on-premises and public cloud GPU clusters with fairness, cost optimization, and reliability.

    System Designdistributed-systemsresource-managementschedulingcloud-infrastructure
  • System DesignMediumModel answer
    Transaction State Management with External Payment Processors

    Build a service that orchestrates payment transitions through hold, capture, and settlement while handling unreliable gateway responses and ensuring financial correctness.

    System Designdistributed-systemsidempotencystate-machinesfinancial-systems
  • System DesignMediumModel answer
    Build a Token-Auth Fetch-and-Upsert CLI Pipeline

    Design a layered CLI tool that calls a bearer-token API, validates JSON into records, and idempotently upserts them into a relational table.

    System Designhttp-clientidempotencyupserterror-handling
  • System DesignHardModel answer
    Five-Year Threat Map for a Search-Ads Giant

    Rank the three biggest five-year threats to a dominant search-and-ads company, pick two tech trends worth tracking, and go deep on one.

    System Designproduct-strategyprioritizationai-agentsmonetization
  • System DesignHardModel answer
    Zero Trust Video Delivery: Access Models and Secure Streaming

    Compare VPN, ZTNA, and RBI enforcement models, then design a chunk-level secure streaming pipeline for high-bitrate enterprise video under a Zero Trust policy.

    System Designzero-trustmedia-streamingsecurityCDN
  • System DesignHardModel answer
    Build a Near-Real-Time Environmental Data Feed API

    Design a platform that polls an external sensor API hourly for ~2,000 U.S. locations and serves current readings with a strict 10-minute freshness guarantee.

    System Designingestion-pipelinecachingrate-limitingidempotency
  • System DesignMediumModel answer
    Investigating Latency Spikes After Traffic Doubles

    Diagnose and resolve severe performance degradation in a distributed system after user load doubles, using observability and root-cause analysis.

    System Designperformanceobservabilitydistributed-systemscaching
  • System DesignMediumModel answer
    Design a Competitive Programming Practice Platform

    Design a scalable web platform where users can browse coding problems, run code in a sandboxed environment, and receive automatic judgement across multiple languages.

    System Designsystem-designdistributed-systemscode-executionsandboxing
  • System DesignMediumModel answer
    Design a Resilient AI Chat Service with Streaming and Failover

    Build a customer-facing chat platform powered by a third-party LLM, handling streaming responses, network interruptions, and provider outages gracefully.

    System Designreal-timemessagingerror-handlingstreaming
  • System DesignMediumModel answer
    Rate Limiting an API Under Active Abuse

    Design a layered rate limiter that blunts a traffic flood while keeping legitimate clients and anonymous users productive.

    System Designrate-limitingdistributed-systemsdenial-of-servicesystem-design
  • System DesignMediumModel answer
    Design a Live Multi-User Document Editor

    Design the client and server for a collaborative text editor where multiple users edit the same document simultaneously and see each other's changes in near real time.

    System Designcollaborative editingoperational transformationCRDTsreal-time sync
  • System DesignHardModel answer
    Build a High-Throughput File Storage Backend

    Design a backend system that ingests and serves large files at scale, handling millions of users with high availability and durability guarantees.

    System Designdistributed-systemsstorageCDNscalability
  • System DesignMediumModel answer
    Spark Abstractions: RDDs, DataFrames, Spark SQL, and Cloud Execution

    Explain the trade-offs between Spark's core APIs, how Spark improves on MapReduce, the role of lazy evaluation, and practical job submission on a managed cluster.

    System Designsparkdistributed-systemsdata-engineering
  • System DesignMediumModel answer
    Real-Time Risk Enforcement for Order Submission

    Build a low-latency system that validates trading orders against risk limits before they leave your network, with atomic resource tracking.

    System Designlow-latencyconcurrencyfinancial-systems
  • System DesignMediumModel answer
    HTTP API Design for Binomial Coefficient Sequences

    Design a clean HTTP API that delivers row-by-row binomial coefficients, covering endpoint structure, validation, error contracts, and numeric limits.

    System Designapi-designhttpvalidationerror-handling
  • System DesignMediumModel answer
    Scalable Duplicate File Detection in a Large Directory Tree

    Design and implement an algorithm to find (and safely remove) duplicate files in a directory tree that may exceed available memory.

    System Designhashingfile-systemsdeduplicationscalability
  • System DesignMediumModel answer
    Design a GPU-Backed Video Generation Service with Fair Scheduling

    Design the backend for a text-to-video service where each job occupies exactly one GPU, covering task lifecycle, fair multi-user queueing, and cancellation at every stage.

    System Designsystem-designqueuesdistributed-systems
  • System DesignHardModel answer
    Design a Fair, Real-Time Pricing Engine for a Ride Platform

    Design the components, data flows, and core pricing logic for a ride platform that handles surge, carpooling, fairness constraints, and live experimentation at scale.

    System Designpricingreal-time systemssurgecarpooling
  • System DesignMediumModel answer
    Designing a Real-Time and Batch Device Telemetry Pipeline

    Architect an ingest-to-query system that handles millions of device messages per second while serving both sub-second dashboards and long-range batch analytics.

    System Designdistributed-systemsstream-processingdata-pipelinetime-series
  • System DesignHardModel answer
    Multi-Level Parking Facility: Allocation, Ticketing, and Payments

    Design a multi-level parking facility with typed spots, entry/exit gates, ticketing, pricing, and availability — covering concurrency, consistency, and failure handling.

    System Designsystem-designconcurrencyidempotencystate-machines
  • System DesignHardModel answer
    Build a Minimal HTTP/1.1 Server from Scratch

    Implement a bare-metal HTTP server using only the standard library: request parsing, routing, static files, concurrency, timeouts, and graceful shutdown.

    System Designnetworkinghttpconcurrencysystem-design
  • System DesignMediumModel answer
    Designing a Bounded-Memory Sliding-Window Top-K Stream Ranker

    Design a memory-bounded structure that ranks the most frequent events over a sliding time window under millions of events per second, covering windowing, sketches, ties, and complexity.

    System Designstreamingapproximate-algorithmscount-min-sketchsliding-window
  • System DesignHardModel answer
    Design a Real-Time News Aggregation Platform

    Design a scalable news aggregation system covering ingestion, deduplication, clustering, personalized feed serving, and operational concerns at global scale.

    System Designingestion pipelinefeed rankingdeduplicationdistributed systems
  • System DesignHardModel answer
    Design a Financial Platform with Transfers and Analytics

    Architect a core banking platform covering auth, accounts, ATM flows, intra- and inter-bank transfers, and time-windowed transaction analytics.

    System Designdistributed-systemsconsistencypaymentsledger
  • System DesignHardModel answer
    Front-End Design: Scalable Product Search with Unbounded Results

    Design the component tree and performance strategy for a search-driven product grid that must handle an arbitrarily large catalog.

    System Designfrontendsearchpaginationperformance
  • System DesignMediumModel answer
    Python Language Evolution and Runtime Internals

    Demonstrate working knowledge of Python 3.8–3.10 syntax additions, GUI and web framework trade-offs, and how CPython handles strings in memory.

    System Designpythonlanguage-fundamentalscpython-internalsecosystem
  • System DesignMediumModel answer
    Diagnose and Remediate a Runaway Process on Linux

    Given a degraded production host, use top, ps, find, and kill to identify a CPU-hungry process, handle files with hostile names, and terminate it safely.

    System Designlinuxcliprocess-managementdevops
  • System DesignMediumModel answer
    Selecting a Database for High-Volume Activity Tracking

    Evaluate NoSQL versus relational storage for a log ingestion system with extreme write throughput and petabyte-scale growth.

    System Designdatabasesscalabilitydata-modelingnosql
  • System DesignMediumModel answer
    Pricing a New B2B SaaS Analytics Feature

    Walk through a structured B2B pricing framework covering customer segmentation, value-based vs. cost-plus methods, competitive benchmarking, packaging tiers, and validation experiments.

    System Designproduct-strategyb2b-pricingmonetization
  • System DesignHardModel answer
    Design a Centralized Log Aggregation Platform

    Design a high-throughput internal logging platform that ingests, indexes, and retains logs from thousands of services with near-real-time search and strict tenant isolation.

    System Designloggingobservabilitydistributed-systemsstream-processing