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 601–630 of 1139 results

  • System DesignHardModel answer
    Partner Listing Onboarding Gateway: API and Pipeline Design

    Design an HTTP gateway through which third-party partners submit property listings, which are checked by an internal validation team's service, with safe retries, async results and observability.

    System Designrest-apiidempotencyasync-processingoutbox-pattern
  • System DesignMediumModel answer
    Making a Kafka-to-Postgres Payment Consumer Safe Under Retries

    Fix lost security context in async tasks, duplicate ledger writes after Kafka redelivery, and unsafe shared metrics maps in a Java 17 / Spring Boot payment consumer.

    System Designjavaspring-securitykafkaidempotency
  • System DesignEasyModel answer
    GPU Rendering, Pipeline Hazards and Workload Fit

    Walk through how a GPU turns triangles into pixels, how pipelines resolve register read-after-write hazards, and which workloads GPUs handle well or badly.

    System Designgpu-architecturegraphics-pipelinepipeline-hazardslatency-hiding
  • System DesignMediumModel answer
    Streaming Replay of Recorded Vehicle Telemetry in a 3D Viewer

    Design a browser-based 3D replay viewer that streams time-indexed vehicle logs from object storage, with prefetching, fast seeking, and aligned playback.

    System Designstreamingcachingtime-seriesprefetching
  • System DesignMediumModel answer
    Building a Cloud-Hosted Disposable Browser for Untrusted Web Content

    Architect a platform that renders risky web pages in throwaway cloud sandboxes and streams the result to employees, covering isolation, streaming, state, policy and scale for 50k sessions.

    System Designsystem-designremote-browser-isolationwebrtcsandboxing
  • System DesignMediumModel answer
    Why a 307 Redirect Makes a Stream-Body POST Stall in Requests

    Diagnose a Requests POST with a file-like body that stalls after a 307 redirect, fix the body-rewind logic, and write a deterministic regression test.

    System Designpythonhttpdebuggingredirects
  • System DesignMediumModel answer
    Dependency-Aware Software Package Manager: Resolve, Install, Roll Back

    Design a client-side package manager that resolves versioned dependencies, rejects cycles and conflicts, and applies installs transactionally with recovery after failure.

    System Designsystem-designdependency-resolutiongraphstransactions
  • System DesignHardModel answer
    Build a Large-Scale Question Library for Live Technical Interviews

    Design a platform where teams write, tag, version, search and rank interview questions, and where interviewers pick from a shortlist during a live session without leaking or repeating questions.

    System Designsystem-designsearchrankingversioning
  • System DesignMediumModel answer
    Build a Cache-Aware DAG Format for GPU Test Pipelines

    Design a DAG-based intermediate representation for GPU test pipelines and explain how to compile it into a cached, incremental, deterministic plan that survives schema changes.

    System Designdagintermediate-representationcachingincremental-builds
  • System DesignMediumModel answer
    Uniform Error Responses in a Spring Banking API

    Design a centralized Spring exception handling layer that returns one JSON error contract, maps domain errors to HTTP codes, hides internals, and ties each response to server logs via a trace ID.

    System Designjavaspringexception-handlingrest-api
  • System DesignMediumModel answer
    Designing a Reliable Checkout and Charge Pipeline

    Sketch a high-level payment backend that charges customers via a third-party provider, guaranteeing no double charges and no orders marked paid without collected funds.

    System Designpaymentsidempotencystate-machineledger
  • System DesignMediumModel answer
    Backend design for live multi-user text editing with conflict handling

    Design a server that orders and merges simultaneous keystrokes from many editors on one document, converges all replicas, and survives failures.

    System Designcollaborative-editingoperational-transformationreal-timeconsistency
  • System DesignMediumModel answer
    Workspace Chat Platform with Per-Org Isolation

    Design a chat backend for many isolated organizations, covering ordered channel history, offline catch-up, permission-aware search, presence, and read tracking.

    System Designmulti-tenancymessagingreal-timepermissions
  • System DesignEasyModel answer
    For Loop vs While Loop: Picking the Right Tool

    Explain when to reach for a for loop versus a while loop, covering intent, safety, and how each choice affects the risk of infinite loops.

    System Designcontrol-flowloopsreadabilitypython
  • System DesignEasyModel answer
    Investigating High CPU Usage on a Linux System

    Walk through the steps to identify and verify the cause of elevated CPU consumption on a Linux machine, from system-wide metrics to specific code paths.

    System Designlinuxperformancedebuggingmonitoring
  • System DesignMediumModel answer
    Build a Multi-Sink Logging Pipeline with Fault Isolation

    Design a thread-safe in-process logger that fans out immutable log records to independent handlers with isolated failures, runtime reconfiguration, and bounded async buffering.

    System Designconcurrencyloggingsystem-designpython
  • System DesignHardModel answer
    Architecting a Streaming LLM Chat Front End

    Design a browser client that streams model output into a virtualized, richly formatted chat log while surviving dropped connections and branching edits.

    System Designfrontendstreamingvirtualizationstate-management
  • System DesignMediumModel answer
    Repair Async Watch-List Add/Remove Endpoints

    Debug failing REST handlers that add and remove movies in a watch list, fixing check ordering, ID comparison, persistence timing, and status codes.

    System Designdebuggingrest-apihttp-status-codesasync-persistence
  • System DesignHardModel answer
    Running a Structured Code Review Under Time Pressure

    Walk through a repeatable framework for producing high-signal PR feedback — prioritized, clearly labeled, and written with minimal context — in roughly 20–30 minutes.

    System Designcode reviewengineering fundamentalscommunicationsoftware design
  • System DesignHardModel answer
    Building a DAG Workflow Engine on Kubernetes

    Design a Kubernetes-native system that schedules containerized DAG tasks with dependency ordering, retries, durable state, and multi-tenant isolation.

    System Designkubernetesworkflow-orchestrationdag-schedulingreliability
  • System DesignHardModel answer
    Design a Trending Content Feed with Near-Real-Time Ranking

    Architect a system that ranks articles by engagement velocity with 1–2 minute freshness, covering ingestion, streaming aggregation, storage tiers, and cheap high-QPS serving.

    System Designstreamingrankingcachingkafka
  • System DesignMediumModel answer
    Frequency Capping at 500K QPS: Low-Latency Ad Eligibility

    Design a sharded, in-memory service that decides in under 10 ms whether a viewer has hit ad/campaign caps, with async impression counting and deliberate soft-cap tolerance.

    System Designsystem-designrate-limitingdistributed-systemscaching
  • System DesignMediumModel answer
    Build an Extensible Event-Driven Trading Strategy Framework

    Design a maintainable framework that routes market events to trading strategies, manages order lifecycle, and runs identically in backtests and live trading.

    System Designevent-driventradingframework-designextensibility
  • System DesignHardModel answer
    Design a Distributed Scheduling and Calendar Platform

    Design a calendar system for millions of users covering event storage, recurring rule expansion, time zone correctness, and a responsive frontend with optimistic updates.

    System Designdistributed-systemsdata-modelingfrontend-architecturetime-zones
  • System DesignMediumModel answer
    Build a Lodging Booking Widget with Correct Pricing

    Design and implement a reservation widget: date/guest inputs, dynamic price breakdown, validation, disabled booking on invalid or sold-out stays, and a confirm dialog.

    System Designfrontendstate-managementpricingvalidation
  • System DesignMediumModel answer
    Rate-Limiting Service with Token Buckets at Global Scale

    Design a distributed rate limiter that enforces per-user request quotas across multiple regions with low latency and no single point of failure.

    System Designrate-limitingredisdistributed-systemstoken-bucket
  • System DesignHardModel answer
    Build a Time-Series Observability Pipeline for a Large Fleet

    Design an end-to-end metrics collection and alerting system for tens of thousands of hosts, then go deep on cardinality control, storage layout, or alert evaluation.

    System Designmonitoringtime-seriescardinalitydistributed-systems
  • System DesignHardModel answer
    Design a Job Scheduler for a Distributed Rendering Cluster

    Design a distributed scheduling service that assigns variable-length rendering jobs to a heterogeneous GPU cluster while balancing priority tiers, resource fit, and fault tolerance.

    System Designschedulingdistributed-systemsgpuresource-management
  • System DesignHardModel answer
    Design a Real-Time Quiz Showdown with Buzzer Lockouts

    Design a multiplayer live quiz system where players race to buzz in, wrong answers trigger a timed lockout, and fairness holds across varying network conditions.

    System Designreal-timewebsocketsmatchmakinglatency
  • System DesignHardModel answer
    Build a Consistent Online Store with Cart and Payment Handling

    Design an online shopping system handling product discovery, shopping carts, order placement, inventory management, and payment processing with consistency guarantees.

    System Designe-commercedistributed-systemstransactionsidempotency