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 451–480 of 1136 results

  • System DesignHardModel answer
    Designing a Ranked Personal Content Feed at Scale

    Architect a scalable, personalized news feed system that handles hybrid fanout, multi-stage recommendation pipelines, stable cursor pagination, and instant post soft-deletions.

    System Designsystem designfeed designrecommendation systemcaching
  • System DesignHardModel answer
    Designing a Thread-Safe Organization Hierarchy Service

    Design a thread-safe, concurrent organization tree supporting high-volume reads and atomic modifications without deadlocks or partial updates.

    System Designsystem-designconcurrencylock-freedata-structures
  • System DesignMediumModel answer
    Building a Crash-Safe Storage Engine for a Single-Node Key-Value Service

    Design the storage engine of a single-node persistent key-value store covering indexing, large values, thread-safe access and cheap durability for acknowledged writes.

    System Designstorage-enginelsm-treewrite-ahead-logconcurrency
  • System DesignHardModel answer
    Design a Serialized BLE Command Queue and Transport Handler

    Architect a reliable, serialized command dispatch system for Bluetooth Low Energy peripherals with response matching, timeout management, and fault tolerance.

    System Designsystem-designiosbluetoothconcurrency
  • System DesignMediumModel answer
    Authenticating Kubernetes Workloads to External APIs Securely

    Evaluate methods for providing third-party API tokens to Kubernetes workloads, focusing on credential lifecycle, secret rotation, and workload identity.

    System Designkubernetessecuritycloud-nativeiam
  • System DesignMediumModel answer
    Comparing GCC and the Clang/LLVM Toolchain for C++ Builds

    Explain how GCC and a Clang/LLVM toolchain turn C++ into machine code, how optimizers exploit undefined behavior, and how to fairly investigate differences in generated code.

    System Designcompilersc++llvmundefined-behavior
  • System DesignEasyModel answer
    Design a Scalable Text Paste Service (Pastebin Clone)

    Design a text sharing system that accepts raw text or code snippets and generates short, durable URLs with customizable TTLs under high read concurrency.

    System Designsystem-designdistributed-systemsapi-designdatabase-design
  • System DesignMediumModel answer
    Cross-Venue Arbitrage Detector for a Million Quotes a Second

    Design an in-process, lock-free engine that tracks the best bid and ask across up to 16 venues for 10,000 instruments and flags crossed markets within microseconds.

    System Designlow-latencylock-freespsc-ring-buffermarket-data
  • System DesignMediumModel answer
    Debugging Non-Functional Kubernetes Pods: A Systematic Diagnostic Framework

    Outline a structured troubleshooting approach for diagnosing and resolving broken Kubernetes pods, detailing state transitions, kubectl commands, diagnostic paths, and mitigation techniques.

    System Designkubernetesdevopstroubleshootingsystem-design
  • System DesignMediumModel answer
    Choosing Between TCP and UDP for Different Network Workloads

    Contrast TCP and UDP on connection handling, reliability, ordering, flow and congestion control, framing and overhead, then match each to workloads where its guarantees fit.

    System Designnetworkingtcpudptransport-layer
  • System DesignMediumModel answer
    Fixing Three Hidden Bugs in an Unfamiliar Vehicle-Booking API

    Debug an unfamiliar Node.js vehicle-booking backend where one user's list exposes others' vehicles, new vehicles are missing, and edits revert after refresh.

    System Designdebuggingnodejsaccess-controlpersistence
  • System DesignMediumModel answer
    Five Backend Designs: Callbacks, Geo Search, Chat, Pipelines, Payments

    Sketch five independent large-scale backends in one time-boxed session: event callbacks, nearby-place search, team messaging, a CI/CD engine, and payment processing.

    System Designsystem-designwebhooksgeospatial-indexchat
  • System DesignMediumModel answer
    Licensed-Clinician Matching Queue for a Virtual Care Service

    Design a 24/7 virtual-care intake system that routes waiting patients to clinicians licensed in the patient's current state, with safe concurrent claiming, auditing and compliance.

    System Designsystem-designqueueingconcurrencypostgres
  • System DesignMediumModel answer
    Build a Multi-Device Chat Backend for Two-Party Conversations

    Design a low-latency chat service for two-party conversations where each user has several devices, covering delivery state, push fallback, retry-safe sends and stable history paging.

    System Designsystem-designmessagingwebsocketsidempotency
  • System DesignMediumModel answer
    Architecture Decisions for an Online Experimentation System

    Architect an experimentation engine balancing sync/async validation, strict latency budgets, and experiment health monitoring.

    System Designsystem-designab-testinglatencydistributed-systems
  • System DesignMediumModel answer
    Building a Streaming Clickstream Metrics Platform End to End

    Design a streaming platform that turns raw website click events into fresh, correct, queryable aggregates, covering partitioning, windows, state, sinks, back-pressure and failures.

    System Designkafkaflinkstream-processingexactly-once
  • System DesignMediumModel answer
    Design an Up-To-Date Knowledge Base Page Crawler

    Design a distributed web crawler and storage architecture that guarantees every page in a target wiki is updated at least once every five days.

    System Designsystem-designdistributed-systemsweb-crawlerstorage
  • System DesignMediumModel answer
    Building a Multi-Channel Alerting Pipeline at Billion-Scale

    Design a platform that takes events from internal services and delivers them to users through push, SMS, email and an in-app inbox, with retries, deduplication and celebrity-scale fanout.

    System Designsystem-designnotificationskafkafanout
  • System DesignMediumModel answer
    Design a Real-Time Event Ticketing and Seat Reservation Platform

    Design a scalable event ticketing backend that supports high-throughput browsing and guarantees strong consistency during high-contention seat reservation and payment flows.

    System Designsystem-designconcurrencydistributed-systemstransactions
  • System DesignHardModel answer
    Design a Smart Workspace Allocation & Ranking Engine

    Architect an enterprise workspace ranking engine that evaluates hard constraints, minimizes space fragmentation, ensures inter-team fairness, and balances user preferences with learned scoring models.

    System Designsystem-designranking-systemsrecommendation-systemsdistributed-systems
  • System DesignMediumModel answer
    Rapid Multi-Terabyte File Distribution Across Large Server Fleets

    Derive the fundamental physical time limits for distributing a 2 TB file to up to 2,000 servers over 25 Gbps links, then design a peer-assisted distribution protocol to match it.

    System Designsystem-designdistributed-systemspeer-to-peernetworking
  • System DesignMediumModel answer
    Design a Secure Medical Voice Recording & Transcription Pipeline

    Design a scalable, HIPAA-compliant system for uploading, transcribing, and retaining audio consults using asynchronous workflows and strict security controls.

    System Designsystem-designsecurityasynchronous-processingcompliance
  • System DesignHardModel answer
    Live Move of a 2TB SQL Server Database to PostgreSQL

    Plan a no-downtime move of a busy 2TB SQL Server database to PostgreSQL, covering sync, type mapping, verification, cutover and rollback, with a read-only vendor client you cannot change.

    System Designdatabase-migrationcdczero-downtimepostgresql
  • System DesignMediumModel answer
    Designing a Board Game Engine as a Production Library or Service API

    Transform a prototype game engine script into a production-grade software library and stateful HTTP microservice with clean architecture and robust edge-case handling.

    System Designsoftware-engineeringapi-designrefactoringarchitecture
  • System DesignMediumModel answer
    Design a Fair Multi-Tenant Image Enhancement Compute Service

    Design a distributed compute platform for image processing using GPU workers, implementing dynamic weighted fair-queueing by compute time and resilient lease-based task execution.

    System Designsystem-designdistributed-systemsschedulingfairness-queueing
  • System DesignMediumModel answer
    Episode Release Pipeline and Follower Feed for an Audio Show Platform

    Design how creators upload and release audio episodes, and how each subscriber sees new releases from followed shows, including shows with millions of subscribers.

    System Designsystem-designfeed-generationfan-outtransactional-outbox
  • System DesignHardModel answer
    Build a Scalable Real-Time Messaging Backend for Group Conversations

    Design a messaging backend for 1:1 and group conversations with near-real-time delivery, exact unread counts, durable history, offline sync, and clear ordering guarantees at large scale.

    System Designsystem-designchatwebsocketfan-out
  • System DesignMediumModel answer
    Design a Scalable Food Delivery Review Platform

    Design a backend architecture to capture, aggregate, and display diner reviews and media ratings at high volume with low read latencies.

    System Designsystem-designdatabase-designcachingpagination
  • System DesignHardModel answer
    Design a Real-Time Top-K Heavy Hitters System

    Design an architecture to identify top-k elements in high-throughput streams over rolling windows, covering data structures, exact vs. approximate models, and sharding.

    System Designsystem-designstreamingdata-structurescaching
  • System DesignMediumModel answer
    Customer Playbook for Unreliable and Slow Data Pipelines

    Outline how you would advise a customer whose cloud data platform produces untrustworthy data and runs slowly or expensively: scoping, metrics, diagnosis, fixes, and architecture concepts.

    System Designdata-qualitypipeline-performancelakehousesolutions-architect