KatInterview

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

System Design Interview Problems

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

5990
Problems
2219
Auto-graded
15
Topics
269
Added today

Showing 391–420 of 1136 results

  • System DesignEasyModel answer
    Completely Purge Docker Host Resources

    Demonstrate how to safely and completely clear containers, images, volumes, custom networks, and build caches from a Docker daemon environment.

    System Designdockerdevopslinuxcli
  • System DesignHardModel answer
    Design a Flash-Sale Resilient Inventory Engine

    Design a multi-warehouse e-commerce inventory system handling flash sales without overselling, focusing on high availability, concurrency control, and idempotency.

    System Designsystem-designconcurrencydistributed-systemscaching
  • System DesignMediumModel answer
    Design a Real-Time Thermal Telemetry & Ingestion System

    Design an IoT telemetry platform ingesting half a million sensor readings per second, featuring low-latency current state queries, delayed data processing, and downsampled long-term storage.

    System Designsystem-designiottime-seriesstreaming
  • System DesignHardModel answer
    Architecting a High-Throughput Multi-Region Data Service

    Design a multi-region metadata engine processing 50k peak QPS under 100 ms p95 latency, complete with capacity sizing, queueing performance modeling, and resiliency patterns.

    System Designsystem-designdistributed-systemsmulti-regioncapacity-planning
  • System DesignHardModel answer
    Architecting a Card Network Transaction Switch

    Design a card-network transaction switch that routes authorizations to unreliable issuer banks, prevents duplicate charges, keeps an auditable ledger, and keeps card data tokenized.

    System Designpaymentsidempotencydistributed-transactionssaga
  • System DesignHardModel answer
    Building a Copy-Detection Pipeline for Massive Photo and Video Libraries

    Design a platform that finds re-uploaded or lightly edited photos and videos across billions of items, covering fingerprinting, indexing, match thresholds, evaluation and abuse resistance.

    System Designnear-duplicate-detectionperceptual-hashingembeddingsann-search
  • System DesignHardModel answer
    Build a Self-Destructing Inbox Platform for Throwaway Addresses

    Design a service that hands out short-lived, unguessable receive-only email addresses, ingests mail at scale, and exposes it through a web UI and API before wiping it.

    System Designsystem-designsmtpttlrate-limiting
  • System DesignEasyModel answer
    How to Systematically Test a Mission-Critical Path Planning Service

    A guide to designing a multi-tier testing strategy, mathematical runtime invariants, and safe deployment pipelines for mission-critical spatial planning services.

    System Designsystem-designtestingreliabilitydistributed-systems
  • System DesignMediumModel answer
    Review a Seat-Booking Backend for Security and Data Integrity

    Review a small Python and SQL ticket-booking service by reading only, and write at least ten fix-oriented comments across security, concurrency, schema, reliability and maintainability.

    System Designcode-reviewsql-injectiontransactionsrace-conditions
  • System DesignMediumModel answer
    Build a Usage and Quality Metrics Console for an LLM Chatbot

    Design a metrics pipeline and console for a multi-tenant LLM chatbot that ingests about 5k events/s and supports sliceable, low-latency queries with 30-day detail and 1-year rollups.

    System Designobservabilityolapkafkatime-series
  • System DesignHardModel answer
    Designing a Graph-Based Authorization Service and Zero-Downtime Migration

    Design a scalable graph database schema for user-resource authorization (ReBAC) and plan a zero-downtime migration strategy from a legacy relational system.

    System Designsystem-designauthorizationgraph-databasemigration
  • System DesignHardModel answer
    Build a Multi-Channel Push and In-App Messaging Platform

    Design a scalable messaging backend for a consumer mobile app that delivers push and in-app messages, honors user preferences, and stays reliable and legally compliant across regions.

    System Designsystem-designnotificationskafkaidempotency
  • System DesignMediumModel answer
    Design a Scalable Video Like-Count Engine for Viral Bursts

    Architect a high-performance system to handle user video likes, user engagement tracking, and extreme traffic bursts on viral content.

    System Designsystem-designdistributed-systemscachingdata-pipelines
  • System DesignHardModel answer
    Designing a Commit-to-Car Release Pipeline with Graph-Based Builds

    Design the path from a monorepo push to software running on customer vehicles, then explain how the build system chooses and orders the targets to build and test.

    System Designci-cdota-updatesmonorepobuild-systems
  • System DesignHardModel answer
    Designing a Multimodal Weapon Ad Moderation Pipeline

    Design a scalable multimodal machine learning system to detect and block illegal weapon ads under strict latency and high recall requirements.

    System Designsystem designmachine learningcontent moderationmultimodal
  • System DesignEasyModel answer
    Analyze Concurrency Hazards, Memory Coherence, and System Calls

    Answer a three-part operating systems and concurrency question covering Coffman conditions, false sharing, spinlock hazards, and kernel-mode transitions.

    System Designconcurrencyoperating-systemscachingmemory-management
  • System DesignMediumModel answer
    Safely Count Regular Files in Directory Trees via Bash

    Write a robust Bash function that counts regular files across a directory tree, handling embedded newlines, spaces, leading hyphens, and traversal constraints safely.

    System Designbashlinuxshell-scriptingposix
  • System DesignHardModel answer
    Cross-Border Commerce, Real-Time Delivery Promises, and Smart Appliances

    Detailed product and technical design frameworks for international cross-border expansion, real-time promise engine architectures, and IoT hardware strategy.

    System Designproduct designe-commercesystem designsupply chain
  • System DesignMediumModel answer
    Design a Distributed Task Scheduler and Time-Window Dashboard

    Architect a scalable background task scheduling engine and high-throughput query service for inspecting upcoming jobs across flexible dynamic time windows.

    System Designsystem-designdistributed-systemsdatabase-designpartitioning
  • System DesignMediumModel answer
    Lazy Pipelines, Memoization, Indexes, and Safe Payment Retries

    A multi-part fundamentals question covering lazy vs eager iteration, a multi-argument cache decorator, B+ tree index trade-offs, process vs thread, and testing idempotent retries.

    System Designpythongeneratorsmemoizationb-tree-index
  • System DesignMediumModel answer
    Design Deterministic Parallel Floating-Point Reduction in CUDA

    Architect a GPU reduction pipeline that guarantees bitwise-reproducible floating-point outputs by eliminating non-deterministic thread block contention.

    System Designcudaparallel-programmingfloating-pointgpu
  • System DesignMediumModel answer
    Design a Scalable ML Model Weight Distribution System

    Design a robust, distributed infrastructure to distribute, version, and activate multi-gigabyte machine learning model weights across thousands of regional GPU inference instances safely.

    System Designmachine-learningsystem-designdistributed-systemscaching
  • System DesignMediumModel answer
    Build a Seller Photo Ingestion and Delivery Service

    Design a pipeline that accepts large seller photos by direct upload, processes and moderates them asynchronously, and serves only approved variants worldwide with safe concurrent edits.

    System Designsystem-designasync-processingobject-storageidempotency
  • System DesignMediumModel answer
    Reservation Notes Feature: Domain Model, Permissions, Bulk Edits

    Design the object model and system for free-text notes on a reservation, with owner and admin edit rights, change auditing, and a safe path for bulk admin updates.

    System Designobject-oriented-designaccess-controlaudit-logbatch-processing
  • System DesignHardModel answer
    Designing a Distributed In-Memory Caching Tier

    Design a scalable, resilient distributed in-memory cache shared by backend services, covering memory management, partitioning, failover, and database protection.

    System Designsystem-designdistributed-systemscachingconsistent-hashing
  • System DesignMediumModel answer
    Sub-50ms Payment Risk Scoring Service for Peak Traffic

    Architect an online scoring service that labels each card payment as approve, flag or block within 50 ms, handles 10k+ RPS and spikes, and ships new models with no downtime.

    System Designml-system-designlow-latencyfeature-storemodel-serving
  • System DesignMediumModel answer
    Designing a Resilient Asynchronous Task Worker with Exponential Backoff and DLQ

    Architect a reliable queue consumer system featuring exponential backoff retries, dead-letter queues, idempotent execution, and crash recovery mechanisms.

    System Designsystem-designdistributed-systemsqueuesfault-tolerance
  • System DesignHardModel answer
    Designing a Multi-Modal Document & Asset Vector Search System

    Architect an end-to-end vector storage and retrieval engine for processing user documents, images, and videos, supporting multi-modal search under low-latency constraints.

    System Designsystem-designmachine-learningvector-searchmultimodal
  • System DesignMediumModel answer
    On-Call Playbook: Memory Alarm in a Card-Funding Service

    Walk through how you would triage, diagnose, mitigate, and follow up on a memory alert in a service that funds couriers' payment cards via a third-party provider and a Redis cache.

    System Designincident-responseobservabilitydebuggingredis
  • System DesignMediumModel answer
    Designing an Evaluation Framework for Local Language Models

    Design and implement a robust, extensible evaluation harness for local LLM endpoints with metrics, concurrency control, and fault tolerance.

    System Designsystem designmachine learningpythonasyncio