KatInterview

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

System Design Interview Problems

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

5987
Problems
2219
Auto-graded
15
Topics
270
Added today

Showing 331–360 of 1134 results

  • System DesignMediumModel answer
    Build a Traffic Distributor for L4 and L7 Backend Pools

    Design a software traffic distributor that spreads L4 and L7 requests across a backend pool, with health monitoring, sticky sessions, failover, and its own horizontal scaling.

    System Designload-balancinghigh-availabilityhealth-checksconsistent-hashing
  • System DesignMediumModel answer
    Object-Oriented Design for a Multi-Story Parking Facility

    Design an object-oriented domain model for managing multi-story parking structures, handling real-time spot assignment, pricing strategies, and concurrency control.

    System Designobject-oriented-designdata-structure-designconcurrencysystem-design
  • System DesignHardModel answer
    Design a Bitemporal Compliance Engine for Securities Trading

    Design a bitemporal data model and low-latency system architecture to track effective-dated trading compliance rules and dynamic security identifier resolutions.

    System Designsystem designbitemporaldata modelingfinancial systems
  • System DesignMediumModel answer
    Walking Through a Production Data Pipeline You Own

    Present one real data pipeline you built or reworked, linking requirements to design choices, rejected options, replay and backfill handling, a hard failure, and what you would change.

    System Designdata-pipelinearchitecture-tradeoffsbackfillidempotency
  • System DesignHardModel answer
    Policy Engine for Flagging Company Card Spending

    Design a multi-tenant engine that checks card transactions and whole trips against configurable policies, with auditable results and an API that can evolve without breaking clients.

    System Designsystem-designrules-enginemulti-tenantapi-design
  • System DesignMediumModel answer
    Kafka Consumer Groups: Partition Ownership and Rebalancing

    Explain how a Kafka consumer group splits partitions, handles offsets and crashes, scales with consumer count, and behaves during a rebalance.

    System Designkafkaconsumer-groupsrebalancingoffsets
  • System DesignEasyModel answer
    Design a Structured Learning Content Service

    Design a data model, API, reordering mechanism, and publishing/caching strategy for a fixed 3-tier learning content management system.

    System Designsystem-designcachingdatabase-designconcurrency
  • System DesignHardModel answer
    Design a Real-Time Content Feed Delivery System

    Design an in-memory topic subscription platform that handles fast ingestion, interest filtering, sliding-window rate limiting, de-duplication, and sorted feed distribution.

    System Designsystem-designdata-structuresrate-limitingpub-sub
  • System DesignMediumModel answer
    Secure Client-Direct Attachment Uploads for a Messaging Product

    Design a pipeline where clients send files straight to object storage using scoped signed URLs, with a tracked lifecycle, async scanning and processing, and cleanup of abandoned uploads.

    System Designsystem-designobject-storagepresigned-urlsmultipart-upload
  • System DesignMediumModel answer
    Building a Reliable Future-Dated Money Transfer Scheduler

    Design a service that fires transfers at a chosen future time, moves money atomically between accounts, and skips any transfer whose source balance is too low at that moment.

    System Designsystem-designschedulerpaymentsidempotency
  • System DesignHardModel answer
    Building Fast Daily Metrics Tables for a Photo App Dashboard

    Design the derived tables and incremental pipeline behind a photo app's KPI dashboard, then extend it with cohort retention, weekly rollups and a change of reporting timezone.

    System Designdata-modelingetlincremental-loadsretention
  • System DesignMediumModel answer
    Nearby Places Lookup: Architecting a Proximity Search Backend

    Design a read-heavy backend that returns places within a given radius of a coordinate, covering spatial indexing, caching, API shape, capacity math, and availability.

    System Designsystem-designgeospatialgeohashquadtree
  • System DesignMediumModel answer
    Designing a Fault-Tolerant Courier Payout Pipeline

    Design the hand-off from a courier pay calculation to an external payment service so every courier is paid the correct amount exactly once, even through outages and ambiguous timeouts.

    System Designidempotencyreliabilitypaymentsretries
  • System DesignMediumModel answer
    Design a Payment Authorization, Capture, and Settlement Engine

    Architect a resilient payment platform handling two-phase auth/capture flows, double-entry financial ledgering, and batch settlement reconciliation with downstream gateways.

    System Designsystem-designdistributed-systemsfinancial-systemsidempotency
  • System DesignHardModel answer
    Defend the Architecture of a System You Built, End to End

    Walk through a non-trivial system you own, from diagram and invariants to scaling, security, SLOs, a real incident, a 10x plan and a hindsight redesign.

    System Designsystem-designarchitecture-reviewscalabilityreliability
  • System DesignMediumModel answer
    Design an Enterprise Assistant for Internal Knowledge and Workflows

    Design a secure, low-latency enterprise AI assistant that performs retrieval-augmented generation across internal data sources and executes tool workflows under strict access controls.

    System DesignRAGLLMAccess ControlSystem Design
  • System DesignMediumModel answer
    Multi-Tenant Labeling Service: API Contract and Storage Design

    Design a workspace-scoped labeling service with REST endpoints, a schema, a search strategy for AND/OR filtering, and handling of concurrency, idempotency and pagination.

    System Designrest-apidata-modelingidempotencypagination
  • System DesignMediumModel answer
    Design a Scalable Food-Item Review and Voting Platform

    Design a scalable review, rating, and vote tracking service for a food ordering platform, focusing on data modeling, atomic vote mutations, and read/write path performance.

    System Designsystem-designdatabase-designcachingdistributed-systems
  • System DesignEasyModel answer
    Troubleshooting Search Inconsistencies and Inventory Bugs in Web Apps

    Outline a structured debugging methodology for diagnosing search and inventory state discrepancies in full-stack applications using targeted tracing and controlled AI code analysis.

    System Designdebuggingfull-stackapistate-management
  • System DesignMediumModel answer
    Presenting End-to-End System Architecture and Database Strategy

    Architect and present a high-volume production system, detailing API flow, query indexing, data partitioning, fault tolerance, and explicit technical trade-offs.

    System Designsystem-designdatabase-indexingpartitioningdata-architecture
  • System DesignMediumModel answer
    Design a Distributed Calendar Aggregation Engine

    Architect a MapReduce-based system to process massive calendar datasets and identify mutual free time slots of length d across large organizations.

    System Designsystem-designmapreducedistributed-systemsintervals
  • System DesignMediumModel answer
    Design a Real-Time News Story Aggregator

    Architect a high-throughput news feed system that ingests raw articles, groups duplicate reports into single event clusters, and serves personalized timelines at scale.

    System Designsystem-designdata-ingestionclusteringembeddings
  • System DesignHardModel answer
    Design an Urban Traffic Intersection Signal System

    Architect an autonomous, safety-critical traffic signal system featuring real-time actuation, emergency preemption, hardware safety monitors, and central orchestration.

    System Designsystem-designdistributed-systemsiotreal-time
  • System DesignEasyModel answer
    Diagnosing a Host Overloaded by Excessive Logging

    Walk through how you would find out whether logging is exhausting a server, restore service safely, and put guardrails in place so the problem cannot return.

    System Designloggingobservabilityincident-responsebackpressure
  • System DesignMediumModel answer
    Long-Term User Memory for a Personalized LLM Assistant

    Design a low-latency, scalable memory layer that lets an LLM assistant remember user facts, retrieve the relevant ones per turn, resolve conflicts, and honor deletion requests.

    System Designllmmemoryvector-searchpersonalization
  • System DesignHardModel answer
    Design a Hospitality Platform Wallet with Authorizations and Payouts

    Design a robust multi-currency ledger and wallet architecture supporting holds, captures, host payouts, idempotent processing, and automated reconciliation.

    System Designsystem-designledgerfintechidempotency
  • System DesignMediumModel answer
    Design a Real-Time Enterprise Team Chat Platform

    Architect a low-latency, highly durable workplace chat platform supporting real-time delivery, missed message catch-up, channel fanout, and per-conversation ordering.

    System Designsystem-designdistributed-systemswebsocketsdata-modeling
  • System DesignHardModel answer
    Keeping Tenants Apart in a Shared-Index LLM Assistant

    Design authorization boundaries so a multi-tenant document Q&A agent cannot leak data across tenants or sessions, or be steered by injected instructions in uploaded files.

    System Designmulti-tenancyragauthorizationprompt-injection
  • System DesignMediumModel answer
    Architecting a Fault-Tolerant Payment Gateway Service

    Design an enterprise-grade payment gateway that guarantees at-most-once execution, handles ambiguous network timeouts, and maintains an auditable, immutable ledger.

    System Designsystem-designdistributed-systemsidempotencyevent-driven
  • System DesignMediumModel answer
    Unified Hotel Availability Search Across Three Supplier Feeds

    Design a read-only search service that merges hotel availability from three inconsistent suppliers into one normalized, fault-tolerant response with cross-supplier deduplication.

    System Designsystem-designaggregationresiliencecircuit-breaker