KatInterview

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

System Design Interview Problems

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

5993
Problems
2220
Auto-graded
15
Topics
270
Added today

Showing 421–450 of 1136 results

  • System DesignMediumModel answer
    Building a Crew Rostering Backend with Safe Shift Claiming

    Design a backend for posting, claiming, and locking restaurant work shifts that prevents double-claims and overlapping assignments while serving a heavily read schedule view.

    System Designsystem-designconcurrencydata-modelingcaching
  • System DesignMediumModel answer
    Building a Filterable Catalog Search with Live Facet Counts

    Design a billion-item catalog search service with relevance ranking, filters, accurate facet counts, stable pagination, and second-level freshness for fast-changing price and stock data.

    System Designsearchinverted-indexfacetingsharding
  • System DesignMediumModel answer
    Git, Docker, Python Environments and Modern C++ Essentials

    Explain a team Git workflow, Docker image practices, Python isolation and pinning, and core C++ idioms (RAII, moves, const), with reasons and trade-offs.

    System Designgitdockerpythoncpp
  • System DesignHardModel answer
    Design a Distributed Crossword Fill Engine

    Architect a scalable, fault-tolerant distributed system to solve large constraint-satisfaction crossword grid fills using parallel search strategies.

    System Designsystem-designdistributed-systemsconstraint-satisfactionparallel-computing
  • System DesignEasyModel answer
    Architecting Real-Time Data Sync with React and Firestore

    Architect a high-performance, cost-effective data retrieval strategy for a live fundraising application using React and Firestore.

    System Designreactfirebasefirestorearchitecture
  • System DesignMediumModel answer
    Design a Resilient Order Refund Workflow Engine

    Design an idempotent, durable DAG workflow execution system for processing order refunds, handling step dependencies, crash recovery, manual reviews, and financial consistency.

    System Designsystem-designdistributed-systemsidempotencystate-machines
  • System DesignHardModel answer
    Building a Pipeline for Fleet-Captured Panoramic Imagery

    Design a system that receives huge volumes of geotagged panoramic photos from a vehicle fleet, stores raw and processed versions durably, and serves location-based tiles quickly.

    System Designsystem-designobject-storagegeospatial-indexingresumable-uploads
  • System DesignMediumModel answer
    Git Branching, Large-Asset Management, and CI Pipeline Architecture

    Architect a robust Git branching model, asset versioning strategy, and CI integration for software repos dealing with large binary artifacts and automated testing.

    System Designgitci-cddevopstesting
  • System DesignMediumModel answer
    Build a Crash-Resilient Delayed and Recurring Task Runner

    Design a distributed service that runs one-off and cron-style tasks at scale with no lost work, safe retries, duplicate-submission protection, and cancellation.

    System Designsystem-designdistributed-systemsschedulingfault-tolerance
  • System DesignMediumModel answer
    Unified Permission Service for Roles and Per-Item Sharing

    Design a multi-tenant authorization service that combines scoped role assignments with per-resource grants, covering the data model, evaluation rules, APIs, caching, auditing, and tricky edge cases.

    System Designauthorizationrbacaclcaching
  • System DesignHardModel answer
    Build a Shared Throttling Layer for a Multi-Server Web API

    Design a throttling service that caps per-key request volume across a fleet of servers, with low added latency, correct behavior under concurrency, and a clear plan for backend failures.

    System Designrate-limitingredisdistributed-systemsconcurrency
  • System DesignMediumModel answer
    Build a Chat Platform with Channels, DMs, and Presence

    Design a real-time workspace chat backend with channels, DMs, paginated history, unread tracking, and presence, supporting 5M concurrent connections and channels of up to 50,000+ members.

    System Designwebsocketsfan-outpub-submessage-ordering
  • System DesignMediumModel answer
    Low-Level Generics in C vs RAII and Smart Pointers in C++

    Compare low-level C abstractions (type erasure, macros, linkages) with C++ resource management model (RAII, smart pointer memory layouts, and weak_ptr lifecycle dynamics).

    System Designccppmemory-managementpointers
  • System DesignMediumModel answer
    Building a Concurrent Rendering Pipeline for Placeholder Substitution

    Design a horizontally scalable backend that renders millions of placeholder-substitution jobs per hour using queues and worker pools, with fault tolerance, backpressure, and sensible job routing.

    System Designworker-poolproducer-consumermessage-queuebackpressure
  • System DesignHardModel answer
    Building an Async Prompt-to-Clip Rendering Service on a GPU Fleet

    Design a durable, fair, and safe asynchronous service that turns text prompts into 10-second clips using slow, expensive GPU inference at roughly ten thousand requests per hour.

    System Designml-system-designgpu-schedulingjob-queuefault-tolerance
  • System DesignHardModel answer
    Batching Service for Autocomplete Inference with Fixed Batch Time

    Design a low-latency serving stack that groups autocomplete requests into fixed-duration accelerator batches, sizes the fleet, handles failures, and critiques the fixed-time premise.

    System Designsystem-designllm-servingbatchingcapacity-planning
  • System DesignMediumModel answer
    Build a Scheduler and Runner Platform for Automated Test Suites

    Design a platform where teams declare automated tests, trigger or schedule them, run them on shared compute, and query status, logs, artifacts and history reliably at scale.

    System Designsystem-designdistributed-systemsschedulingci-cd
  • System DesignMediumModel answer
    Design an Enterprise AI Gateway for Heterogeneous Models

    Design a high-throughput, multi-tenant AI proxy layer featuring unified OpenAI-compatible routing, token-aware rate limiting, low latency overhead, and PII masking.

    System Designsystem-designai-gatewayllm-infrastructurerate-limiting
  • System DesignMediumModel answer
    Build a Fleet-Wide Log Search Platform at 100K Lines/Second

    Design a platform that collects logs from many microservices, keeps them for 30 days, and supports fast searches by service, time window, and text or regex pattern.

    System Designsystem-designlog-pipelinekafkaindexing
  • System DesignHardModel answer
    Design a Multi-Tenant GPU Inference Engine

    Architect a scalable, low-latency API platform for serving multi-tenant deep learning workloads (including LLMs) across heterogeneous GPUs under strict latency SLOs.

    System Designsystem-designmachine-learninggpu-inferencellm-serving
  • System DesignEasyModel answer
    Debugging Low Bandwidth Performance in Containerized Environments

    Systematically troubleshoot degraded network throughput across container runtimes, host transport stacks, and physical network paths.

    System DesignNetworkingContainersLinuxTroubleshooting
  • System DesignMediumModel answer
    Design a Performant Continuous Particle Blaster on iOS

    Architect an iOS animation system that emits floating emoji particles on continuous press, focusing on frame rates, layer management, timer accuracy, and unit testability.

    System DesigniOSCore AnimationConcurrencyPerformance
  • System DesignMediumModel answer
    Design a Shared SQL Canvas with Immutable Releases and Async Runs

    Design a collaborative SQL editor featuring real-time document sync, frozen releases, and async execution tracking with strict input-output lineage.

    System Designsystem-designdata-warehousedistributed-systemsconcurrency
  • System DesignMediumModel answer
    Design a Context-Aware Restaurant Recommendation Engine

    Design an end-to-end personalized restaurant discovery and search service balancing geo-constraints, low-latency ranking, real-time context, and hybrid search architectures.

    System Designsystem-designrecommendation-systemsmachine-learningsearch
  • System DesignHardModel answer
    Optimizing Latency in C++: Inlining, Memory Allocation, and Variant Polymorphism

    Analyze the runtime performance overheads of virtual dispatch and heap allocation in C++, and propose high-performance alternatives using static polymorphism and zero-allocation techniques.

    System DesignC++Performance OptimizationStatic PolymorphismMemory Allocation
  • System DesignMediumModel answer
    Design a Fleet Health Monitoring System for Edge Devices

    Architect a scalable real-time monitoring system to track the online/offline status of 10 million connected edge devices with low latency and high availability.

    System Designsystem-designdistributed-systemsstreamingcaching
  • System DesignMediumModel answer
    Go-to-Market Technical Messaging and DevEx Evaluation for AI Features

    A strategic framework for launching new AI technologies, measuring developer experience metrics, and navigating competitive benchmarking safely.

    System DesignDevRelDeveloper ExperienceTechnical MarketingBenchmarking
  • System DesignHardModel answer
    Build a Mobile-First Grid and Resilient Signup Form in Plain CSS

    Create your own responsive utility-class grid, an accessible navbar and form, then add robust validation, async submit states, retry rules and telemetry, with no CSS framework.

    System Designcssresponsive-designaccessibilityform-validation
  • System DesignHardModel answer
    Design an Enterprise Healthcare Record Ingestion Engine

    Architect a resilient, HIPAA-compliant ETL pipeline capable of ingesting 500 million daily sensitive records with strict partner fault isolation and replayability.

    System Designsystem-designetlevent-drivendata-engineering
  • System DesignHardModel answer
    Design a Real-Time Messaging and Collaboration Platform

    Architect a scalable real-time chat service supporting workspaces, channels, direct messaging, persistent history, and message editing with low-latency delivery.

    System Designsystem-designdistributed-systemswebsocketsdatabases