KatInterview

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

System Design Interview Problems

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

5971
Problems
2211
Auto-graded
15
Topics
272
Added today

Showing 1051–1080 of 1132 results

  • System DesignMediumModel answer
    Build a Real-Time Team Chat System Architecture

    Architect a scalable backend for workplace messaging with channels, direct messaging, history retrieval, and live delivery guarantees.

    System Designdistributed-systemsmessagingwebsocketsscalability
  • System DesignHardModel answer
    Building a Scalable Multi-Tenant Event Reservation Platform

    Design a backend system for managing event reservations across multiple venue types with pluggable business logic, concurrency safety, and transactional integrity.

    System Designsystem-designconcurrencytransactionsextensibility
  • System DesignHardModel answer
    Real-Time Impression Frequency Control System

    Build a low-latency distributed system that enforces rolling-window impression limits across multiple dimensions and time horizons for an advertising platform.

    System Designdistributed-systemsreal-timeapi-design
  • System DesignMediumModel answer
    Real-time Market Data Dispatch System

    Design an in-memory event matching engine that routes incoming market events to registered subscribers based on filtering criteria.

    System Designconcurrencydata-structureslow-latencypub-sub
  • System DesignMediumModel answer
    Real-Time Frequency Ranking System

    Build a distributed system that tracks item frequencies from a high-throughput stream and serves the most popular items with low latency.

    System Designstreamingdistributed-systemsapproximation-algorithmscache
  • System DesignHardModel answer
    Control Signal Interface Across Power and Clock Boundaries

    Design a robust interface to propagate a control bit between two independently-powered, potentially asynchronous SoC domains.

    System Designhardwarepower-managementclock-domain-crossingsoc-design
  • System DesignMediumModel answer
    Client for migrating records between REST APIs with OAuth

    Write a CLI tool that authenticates via OAuth 2.0, fetches paginated data from one API, transforms it, and posts it to another with checksums and idempotency.

    System Designoauthapi-integrationdata-migrationidempotency
  • System DesignMediumModel answer
    Building Observability for Sub-5-Minute Error Budgets

    Design a monitoring and reliability system that protects a 99.99% availability target for a high-traffic SaaS platform handling 100k requests/second.

    System DesignobservabilityreliabilitySLI-SLOalerting
  • System DesignMediumModel answer
    Analytics Platform for Page Traffic and User Conversion

    Build a metrics pipeline that tracks popular pages and calculates signup conversion rates with clear event semantics and late-arrival handling.

    System Designanalyticsstreamingdata-pipelinemetrics
  • System DesignHardModel answer
    Build a Stock Trading Application Backend

    Design the architecture for a consumer stock trading app handling order execution, account management, real-time market data, and settlement.

    System Designtrading-systemsfinancial-servicesdistributed-systemsreal-time
  • System DesignMediumModel answer
    Event Seat Reservation System with Timed Locks

    Design a high-traffic event ticketing platform with temporary seat reservations, automatic expiration, and zero overselling under concurrent access.

    System Designdistributed-systemsconcurrencyconsistencyscalability
  • System DesignMediumModel answer
    Design a Multi-Locale String Delivery System

    Design a system that serves translated strings to clients worldwide, handling locale resolution, variables, plurals, live updates, fallback, and offline support.

    System Designlocalizationinternationalizationcontent deliverycaching
  • System DesignHardModel answer
    Build a Frame-Perfect Video Playback Engine

    Implement playback logic for a video player that maintains 25fps timing using thread-safe coordination between frame reading and rendering operations.

    System Designconcurrencythreadingproducer-consumerreal-time-systems
  • System DesignMediumModel answer
    Build a React Autocomplete Component with Async Search

    Create a reusable autocomplete input component in React that queries a search API, handles asynchronous responses, and displays suggestions efficiently.

    System Designreactcomponent-designapi-integrationcaching
  • System DesignMediumModel answer
    Design a Table Booking Platform

    Design a scalable system for booking dining tables that handles concurrent requests and prevents conflicts.

    System Designdistributed-systemsconcurrencydatabasescaching
  • System DesignMediumModel answer
    Design a Reverse-Image Search Index at Scale

    Design a system that accepts an image query and returns visually similar images from a corpus of billions, covering storage, indexing, and retrieval trade-offs.

    System Designsystem designstorageindexingvector search
  • System DesignMediumModel answer
    Design a Portfolio Aggregation Service

    Build a system that combines investment data from multiple third-party sources into a unified view with clear freshness indicators and consistent calculations.

    System Designdata-ingestioneventual-consistencyfinancial-systems
  • System DesignMediumModel answer
    Design a User Photo Library and Album Service

    Design a scalable backend for storing, organizing, and retrieving user photos and albums, covering API design, storage, data modeling, and reliability.

    System Designobject-storagecdnshardingmetadata
  • System DesignMediumModel answer
    Design a Time-Series Metrics Collection and Alerting Platform

    Build a system that ingests numeric measurements from distributed services, persists them efficiently, powers query dashboards, and triggers alerts.

    System Designtime-seriesdistributed-systemsdata-modelingstorage
  • System DesignMediumModel answer
    Multi-Domain Web Hosting on a Single IP Address

    Design a solution to serve three independent websites with separate domain names from one server with a single public IP address.

    System Designnetworkingweb-infrastructurednstls
  • System DesignMediumModel answer
    End-to-End Flow: What Happens When a Shell Runs a Command

    Trace every layer from keypress to process exit when a shell executes a directory-listing command, covering process creation, syscalls, and filesystem interactions.

    System Designlinuxoperating-systemssyscallsfilesystem
  • System DesignHardModel answer
    Backend Design for Employee Records and Payroll Audit System

    Build a backend architecture for managing employee data and payroll changes with strong audit trails, concurrency safety, and regional customization support.

    System Designdatabasesconcurrencyapi-designdata-modeling
  • System DesignMediumModel answer
    Client-Side Filtering and Sorting with Async Data

    Design a frontend component that fetches paginated data, applies client-side search and sort, and handles race conditions efficiently.

    System Designreactfrontend-architecturestate-management
  • System DesignMediumModel answer
    Building a Resilient Payment Processing Service

    Design a payment calculation service that maintains SLAs during dependency failures and choose appropriate storage for financial data correctness.

    System Designreliabilitystorage-architecturepaymentssla
  • System DesignMediumModel answer
    Design a Real-Time Social Activity Feed

    Design a scalable system that delivers a personalized, real-time activity feed to millions of users with low latency and high throughput.

    System Designsystem designreal-timefeedsfan-out
  • System DesignMediumModel answer
    Design a High-Concurrency Reservation Platform

    Build a scalable property reservation system that handles millions of searches and prevents double-booking through strong consistency guarantees.

    System Designdistributed-systemsconcurrencycachingdatabases
  • System DesignHardModel answer
    Build a Data Quality and Observability Layer for Live Pipelines

    Design an end-to-end system for validating, monitoring, and recovering from data failures across both batch and streaming pipelines in a production environment.

    System Designdata-engineeringobservabilitystreamingdata-quality
  • System DesignHardModel answer
    Debug Random Process Creation Failures in a Production Cluster

    Diagnose why newly spawned processes fail unpredictably on Linux cluster nodes by systematically checking resource limits, kernel logs, and system metrics.

    System Designlinuxdebugginginfrastructureresource-limits
  • System DesignMediumModel answer
    Design a Distributed Web Crawler at Scale

    Design a fault-tolerant, distributed web crawler that discovers, fetches, parses, and stores billions of pages while respecting site politeness rules.

    System Designdistributed-systemscrawlingurl-frontierdeduplication
  • System DesignMediumModel answer
    Content-Addressed Photo Service with Cross-User Deduplication

    Design a service where users upload, view, and remove photos, storing each unique content blob once using its hash as the key.

    System Designstoragededuplicationdistributed-systemsapi-design