KatInterview

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

System Design Interview Problems

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

5999
Problems
2221
Auto-graded
15
Topics
272
Added today

Showing 511–540 of 1138 results

  • System DesignEasyModel answer
    How Secure Web Connections Are Set Up and Why Captured Traffic Stays Private

    Explain how a secure web session is negotiated, how clients decide to trust a server, and why captured packets resist decryption while a trusted proxy can still read them.

    System Designtlshttpsnetworkingcryptography
  • System DesignMediumModel answer
    Build a Persistent Real-Time Messaging Service with Reliable Sync

    Design a text messaging service where conversations are stored durably, messages arrive live, and clients recover cleanly from disconnects, retries, and duplicate events.

    System Designsystem-designchatwebsocketsidempotency
  • System DesignMediumModel answer
    Sizing and Securing a Deduplicating Document Vault

    Design a long-term document storage service: estimate storage with replicas, add ingestion-time deduplication, and layer encryption, key management, authorization and versioning.

    System Designcapacity-estimationdeduplicationencryptionobject-storage
  • System DesignMediumModel answer
    Real-Time Hourly Popularity Ranking at 100K Events per Second

    Design a scalable service that ingests a massive stream of view events and serves the most popular items over a rolling 60-minute window, allowing slightly approximate results.

    System Designsystem-designstreamingtop-ksliding-window
  • System DesignMediumModel answer
    Per-User Impression Limits for an Ad Serving Platform

    Design a low-latency service that stops an ad platform from showing a user the same ad or campaign more than an allowed number of times per time window, across regions.

    System Designsystem-designdistributed-systemscountersredis
  • System DesignMediumModel answer
    Threshold-Crossing Price Notifications at Scale

    Design a service where users set price-level triggers on securities and get notified quickly, exactly once, through push, email or SMS, even during market-open bursts.

    System Designsystem-designevent-drivennotificationsdeduplication
  • System DesignMediumModel answer
    Speeding Up a Cold Storefront Page and a 10M-Row Browser Table

    Audit and cut a 5-second cold-cache load on a retail landing page, then design a browser table that can browse 10 million API records without freezing or crashing.

    System Designfrontend-performanceweb-vitalsvirtualizationpagination
  • System DesignHardModel answer
    Hardening a Duplicate-File Finder Against Real Filesystems

    Design a duplicate-file cleanup tool that survives live, messy filesystems: handle errors, races, loops, scale and hash choices, and make deletions provably safe.

    System Designfile-deduplicationfilesystemshashingconcurrency
  • System DesignMediumModel answer
    Walking Through a Python venv Bootstrap Shell Script

    Explain each line of a bash script that builds a Python virtual environment, predict its output and files, and argue why shell automation suits environment setup.

    System Designbashpython-venvpipautomation
  • System DesignMediumModel answer
    Highly Available Order Service With Durable Async Jobs

    Design a horizontally scalable Spring Boot order backend that survives deploys and traffic spikes while guaranteeing that invoice and email jobs are never lost.

    System Designspring-boothigh-availabilitymessage-queuetransactional-outbox
  • System DesignMediumModel answer
    Turning JSON Point Data into Lines via a Third-Party Drawing Service

    Describe how to parse JSON point data, decide how points connect, build the drawing service's request, and recover safely from failures without creating duplicate drawings.

    System Designapi-integrationjson-parsingidempotencyerror-handling
  • System DesignMediumModel answer
    Design a Multi-Provider Money Transfer Price Comparison Service

    Design a service that gathers remittance quotes from many providers, computes true customer cost against a mid-market rate, and clearly marks stale or missing data.

    System Designsystem-designcachingfault-tolerancedata-normalization
  • System DesignMediumModel answer
    Catalog Backend for a Multi-Retailer Grocery Delivery App

    Design the service that ingests retailer product, price and stock data and serves store-scoped browse, search and item pages, while keeping checkout prices consistent.

    System Designsystem-designcatalogdata-ingestionsearch
  • System DesignMediumModel answer
    Build a Short-Post Social Feed Platform at Scale

    Design a backend for a social platform where users publish brief posts, follow each other, and read a recent-posts home feed, covering feed delivery, storage, caching, and abuse controls.

    System Designsystem-designnews-feedfan-outcaching
  • System DesignMediumModel answer
    Lease-Based Task Dispatch for a Pool of Human Reviewers

    Design a platform that routes skill-specific manual tasks to human operators with leases, heartbeats, fair prioritization, and safe automatic reassignment after failures.

    System Designsystem-designtask-queueleasesdistributed-systems
  • System DesignMediumModel answer
    Prepare a Flash-Sale Platform for a 50x Traffic Surge

    Audit a small web stack ahead of a 50x traffic spike, pick the three most dangerous weaknesses, propose fixes, and plan the work for three engineers over four weeks.

    System Designarchitecture-reviewscalabilityavailabilitycaching
  • System DesignHardModel answer
    Building a Reliable Earnings Pipeline for Gig Delivery Couriers

    Design a service that turns courier delivery lifecycle events into correct, auditable payouts, covering idempotency, ordering, time zones, data repair, and reconciliation.

    System Designsystem-designidempotencyevent-drivenpayments
  • System DesignMediumModel answer
    Designing Reliable Benchmarks and Regression Tests on Shared Clusters

    Describe how to run performance benchmarks and functional regression tests as separate tracks, and how to cut a benchmark's shared-cluster footprint while keeping results comparable.

    System Designqabenchmarkingregression-testinghpc
  • System DesignMediumModel answer
    Build a Blob Storage Platform with Resumable Large Uploads

    Design a cloud blob store that accepts huge files in parts, keeps them durable across machine and site failures, and scales to petabytes with heavy concurrent traffic.

    System Designobject-storagemultipart-uploadreplicationerasure-coding
  • System DesignMediumModel answer
    Exact-Match File Deduplication at Petabyte Scale

    Design a service that finds byte-identical files across billions of stored objects and lets clients check for existing content before uploading, while keeping network transfer low.

    System Designsystem-designdeduplicationhashingdistributed-storage
  • System DesignMediumModel answer
    Build a Conversational Catalog Search Agent with Guardrails

    Design a multi-step conversational search assistant over a read-only catalog that clarifies intent, enforces hard constraints, grounds answers in records, and falls back safely.

    System Designagentic-searchretrievalllm-agentsgrounding
  • System DesignMediumModel answer
    Build a Pluggable Connector Layer for Third-Party Services

    Design a platform that lets a product authorize customer accounts at many external vendors, run actions against them, and ingest their events reliably, with new connectors cheap to add.

    System Designsystem-designintegrationswebhooksidempotency
  • System DesignHardModel answer
    Build a Composable Filesystem Query Engine in the Spirit of find

    Design an extensible, object-oriented library and CLI that walks directory trees, filters entries with composable predicates, and handles symlinks, errors, and huge trees.

    System Designobject-oriented-designfilesystempredicatestraversal
  • System DesignMediumModel answer
    Build a Time-Zone-Safe Scheduling Backend for Recurring Events

    Design a scheduling service where users in different time zones create, edit and query one-off and repeating events, with correct behavior across daylight saving changes.

    System Designsystem-designcalendartime-zonesrecurrence
  • System DesignMediumModel answer
    Building a Citation-Accurate Document Q&A Service over PDFs

    Design a service that ingests text, scanned and table-heavy PDFs, answers questions with page-level citations, and keeps its index correct as documents are replaced or removed.

    System Designragdocument-parsingvector-searchcitations
  • System DesignHardModel answer
    Designing a Flash-Sale Ticketing Platform Without Overselling

    Design a worldwide ticketing service that survives on-sale stampedes, gives fast seat-map reads, and guarantees every seat is sold to at most one buyer.

    System Designsystem-designconcurrencydistributed-systemscaching
  • System DesignHardModel answer
    Planning a Sparse-Expert LLM Training Run on 256 GPUs

    Plan an end-to-end training setup for a bilingual sparse-expert language model on about 1T tokens and 256 A100-80GB GPUs, including a path to 1,024 GPUs.

    System Designmixture-of-expertsdistributed-trainingexpert-parallelismllm-pretraining
  • System DesignHardModel answer
    Build a Charge-Once Card Payment Service Behind a Gateway

    Design an internal payment service that charges a card at most once per order despite retries, timeouts and crashes, and reconciles its records with an external payment provider.

    System Designidempotencydistributed-systemspaymentsreconciliation
  • System DesignMediumModel answer
    Design a Governed Catalog and Access Layer for Vendor Price Data

    Design a metadata-driven service that lets quants and PMs find, trust and query licensed vendor market data, with lineage, entitlements, freshness alerts and point-in-time reads.

    System Designsystem-designdata-catalogbitemporalentitlements
  • System DesignHardModel answer
    Offline Audio Moderation Pipeline: End-to-End Architecture

    Design a batch pipeline that screens stored audio files for policy violations, labels each as safe, unsafe or uncertain, and routes uncertain ones to human reviewers.

    System Designml-system-designaudiopipeline-orchestrationhuman-in-the-loop