KatInterview

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

System Design Interview Problems

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

5984
Problems
2218
Auto-graded
15
Topics
272
Added today

Showing 871–900 of 1133 results

  • System DesignHardModel answer
    Design a Resumable, Token-Secured File Transfer Platform

    Design a high-throughput file transfer service that handles multi-gigabyte uploads and downloads with scoped token auth, revocation, chunk integrity, and bounded proxy memory.

    System Designdistributed-systemssecuritystorageapi-design
  • System DesignMediumModel answer
    Design a Concert & Event Ticket Sales Platform

    Design a seat reservation system for high-demand events, covering inventory consistency, surge traffic, payment edge cases, and failure recovery.

    System Designsystem-designdistributed-systemsconsistencyqueuing
  • System DesignMediumModel answer
    Build and Scale a Freight Quote Service with Slow Dependencies

    Implement service logic for a freight pricing API, then architect for high traffic when external services are slow.

    System DesignAPI designdistributed systemscachingreliability
  • System DesignMediumModel answer
    Design a Safe, Automated Code-Change Pipeline

    Design an end-to-end pipeline that takes an engineering ticket, uses an LLM agent to propose code changes, and produces a verified pull request safely.

    System Designsystem-designai-agentsdeveloper-toolingsecurity
  • System DesignHardModel answer
    Design a Multi-Tenant Namespace File Storage Service

    Design a production file storage system with hierarchical namespaces, per-directory capacity limits, atomic duplicate renaming, and petabyte-scale content storage.

    System Designdistributed-systemsstorageconcurrencymetadata
  • System DesignMediumModel answer
    Build a Parallel Image Transform Pipeline With Worker Processes

    Design a resize-then-watermark pipeline for a batch of photos, then scale it across a bounded pool of worker processes with safe output writes and per-photo failure isolation.

    System Designconcurrencymultiprocessingpipeline-design
  • System DesignMediumModel answer
    Designing Automated Failover for Distributed Databases

    Design a resilient database layer that automatically handles node failures while preventing data loss and ensuring only one primary accepts writes.

    System Designdatabasesdistributed-systemsfault-toleranceconsensus
  • System DesignHardModel answer
    Build a Fault-Tolerant Distributed Counter at Scale

    Design a horizontally scalable counter service that guarantees atomic updates, read-after-write consistency, and correct behavior under retries and failures.

    System Designdistributed-systemsconsistencyconcurrencyfault-tolerance
  • System DesignHardModel answer
    Design a Streaming Conversational AI Assistant

    Design the backend architecture for a multi-turn AI chat product with streaming responses, session history, safety controls, and optional tool integrations.

    System DesignstreamingLLM inferencedistributed systemsreal-time
  • System DesignMediumModel answer
    Design a Personalized Activity Feed for a High-Scale Social Platform

    Design the backend that publishes user posts and serves each follower a ranked, paginated feed, handling celebrity accounts, deletions, and privacy at scale.

    System Designfeedfan-outrankingscalability
  • System DesignMediumModel answer
    Memory Access Patterns and CPU Cache Performance

    Analyze how traversal order affects performance in large arrays, explain the cache hierarchy and address translation, and identify practical optimizations.

    System Designperformancememorycachinghardware
  • System DesignMediumModel answer
    Diagnosing and Resolving a Full-Disk Service Outage

    A production service returns 500 errors for all requests due to local disk exhaustion; walk through triage, mitigation, root cause analysis, and prevention.

    System Designincident-responselinuxdisk-usageobservability
  • System DesignMediumModel answer
    Should We Move Off MySQL? Assessing a Document Database Migration

    Decide whether replacing MySQL with MongoDB makes sense for a live service by analyzing workload evidence, correctness needs, and a safe dual-run cutover plan with measurable proof.

    System Designdatabasesmigrationmongodbmysql
  • System DesignHardModel answer
    Design a Two-Way Sync Engine Between a Platform and External SaaS Tools

    Design a system that keeps records in sync across a central platform and multiple third-party SaaS integrations, handling conflicts, retries, and rate limits reliably.

    System Designdistributed-systemsevent-drivenconflict-resolutionidempotency
  • System DesignMediumModel answer
    Design a Rate Limiting Service for a Multi-Region API Platform

    Design a low-latency, distributed rate limiter that enforces per-key request quotas across a fleet of servers handling millions of requests per second.

    System Designrate-limitingdistributed-systemsredisconsistency
  • System DesignMediumModel answer
    Critique a GPU Inference Service Design and Schedule Mixed Models

    Analyze a design for a batched GPU inference API, identifying flaws in batching, load distribution, caching, and admission control, then calculate capacity needs and schedule heterogeneous models.

    System Designgpu-inferencebatchingload-balancingcapacity-planning
  • System DesignHardModel answer
    Build a Multi-Institution Personal Finance Dashboard

    Design a system that ingests transactions and balances from banks and credit cards, normalizes and deduplicates them, and powers budgeting and alerting features.

    System Designsystem-designfintechdata-ingestionsecurity
  • System DesignMediumModel answer
    Design a Decentralized Large-File Distribution Network

    Design a peer-to-peer file sharing system where downloaders pull chunks directly from other peers, covering content identity, discovery, integrity verification, NAT traversal, and swarm health.

    System Designpeer-to-peerdistributed-systemsfile-transferNAT-traversal
  • System DesignMediumModel answer
    Decompose a Monolithic Chatbot into SOLID Components

    Refactor a single-class chatbot prototype into modular, testable, dependency-injected components following SOLID design principles.

    System Designobject-oriented-designrefactoringSOLIDpython
  • System DesignMediumModel answer
    In-Memory Event Deduplication with a Sliding Time Window

    Design a low-latency, high-throughput in-memory service that suppresses duplicate events within a configurable 10-minute window at 100k events/sec.

    System Designdeduplicationin-memoryconcurrencysystem-design
  • System DesignMediumModel answer
    Reducing Turnaround Time on Shared HPC Benchmark Pipelines

    Design a policy and workflow to cut benchmark cycle time and HPC resource consumption without compromising result validity.

    System DesignHPCbenchmarkingresource managementQA
  • System DesignMediumModel answer
    Building a Metrics Platform for a Conversational AI Service

    Design a scalable analytics backend that ingests events from production systems, computes real-time and historical metrics, and serves aggregated data to dashboards.

    System Designdata-pipelinemetricsreal-timeanalytics
  • System DesignMediumModel answer
    Hash Table Internals: Collisions, Resizing, and Concurrency

    Explain how an in-memory hash table works under the hood, covering collision strategies, resizing cost, deletion semantics, worst-case behavior, and thread safety.

    System Designhash-tablesdata-structuresconcurrencycomplexity
  • System DesignHardModel answer
    Design a Live Market Data Feed for a Financial Dashboard

    Design a system that streams real-time asset prices to millions of concurrent users with sub-100ms end-to-end latency.

    System Designstreamingwebsocketsfanoutpub-sub
  • System DesignHardModel answer
    Design a High-Scale Event Streaming and Analytics Pipeline

    Design an end-to-end pipeline that ingests millions of user interaction events per day, handles duplicates and late arrivals, and serves both real-time dashboards and raw session queries.

    System Designstream-processingdata-pipelineanalyticskafka
  • System DesignMediumModel answer
    IoT Sensor Data Pipeline Architecture

    Design a distributed system to ingest and query temperature readings from millions of globally distributed IoT devices with high write throughput.

    System Designtime-seriesdata-ingestionIoTdistributed-systems
  • System DesignMediumModel answer
    Real-Time BNPL Approval Service: Latency, Concurrency, and PII Vault

    Design a buy-now-pay-later checkout backend that decides approval in real time, protects a shared credit line under concurrency, and isolates sensitive shopper data.

    System Designsystem-designlatency-budgetconcurrencyencryption
  • System DesignHardModel answer
    Design a Distributed Key-Value Store with Range Scan Support

    Design a horizontally scalable, fault-tolerant key-value store that supports high write throughput, low-latency reads, and efficient range scans across multiple data centers.

    System Designdistributed-systemsstorage-enginesreplicationpartitioning
  • System DesignMediumModel answer
    JVM Memory Management, Singleton Design, and SOLID

    Explain how the JVM reclaims memory, how to implement a Singleton safely in Java, and how SOLID principles lead to maintainable, extensible object-oriented designs.

    System Designjavagarbage-collectiondesign-patternssolid
  • System DesignHardModel answer
    Designing a High-Traffic Campaign Donation System

    Build a payment platform for a short-duration global fundraiser with real-time totals, idempotency, fraud prevention, and spike handling.

    System Designpaymentsscalabilitydistributed-systemsreal-time