KatInterview

Topic

System Design interview problems

Scalable services, storage, caching and trade-offs. 1133 original problems, each with a worked model answer.

Problems1133

43 easy720 medium370 hard

Showing 301–330 of 1133 results

  • Demonstrate core computer science concepts by explaining object-oriented polymorphism, binary search tree mechanics with complexities, and responsible workflows for AI-assisted software engineering.

    Model answerobject-oriented-programmingbinary-treesai-toolscs-fundamentals
  • Design a social platform where people post photos and short videos, follow each other, and browse a personalized home feed, with attention to media delivery, feed fan-out and trade-offs.

    Model answersystem-designfeed-generationcdnfan-out
  • Design and implement a microservice that handles customer order disputes, applies explicit refund business rules, and prevents duplicate processing.

    Model answerAPI DesignData ModelingBusiness LogicState Management
  • Plan the browser-side architecture of a live crypto-style exchange screen, covering rendering, state, streaming data, order safety, security, and observability.

    Model answerfrontend-architecturewebsocketstate-managementreact
  • Design a book-selling web platform covering catalog search, cart, checkout and orders, with emphasis on inventory correctness, idempotent payments, caching, and fault tolerance.

    Model answersystem-designe-commerceinventoryidempotency
  • Design a distributed crawler that fetches pages quickly across many hosts while never overloading any single upstream, with safe retries, deduplication, fairness and monitoring.

    Model answersystem-designrate-limitingweb-crawlerdistributed-systems
  • Explain how to adapt a working in-memory solution when the input becomes far too large, moving from constraints to streaming, external sorting, approximation or distribution.

    Model answerscalabilitystreamingexternal-sortfollow-up-questions
  • Design a storage-backed service that moves very large files in resumable pieces, checks integrity end to end, serves byte ranges, and only exposes files once fully committed.

    Model answersystem-designresumable-uploadobject-storageidempotency
  • Architect a scalable, low-latency distributed system for real-time multiplayer chess, clock management, and channel-based chat supporting peak loads.

    Model answersystem-designwebsocketsreal-timedistributed-systems
  • A guide on managing production servers, diagnosing performance degradation, conducting structured incident response, and using Linux inspection utilities.

    Model answersreobservabilitylinuxincident-response
  • Design a service that accepts tasks, fires them immediately, at a future time or on a cron schedule, runs them on a worker fleet, and tracks each execution reliably.

    Model answersystem-designschedulerdistributed-systemscron
  • Architect an end-to-end Retrieval-Augmented Generation system handling millions of internal documents, low latency, real-time updates, and strict document-level security.

    Model answerragvector-searchsystem-designmachine-learning
  • Estimate how many exabytes a worldwide video platform delivers to viewers each day, using viewers, watch time, bitrate and overhead, then validate the result with independent checks.

    Model answerfermi-estimationcapacity-planningback-of-envelopebandwidth
  • Design a shared platform where several teams run distributed GPU training jobs, with all-or-nothing placement, fair quotas, fast failure recovery and a storage layer that avoids I/O stalls.

    Model answerml-infrastructuregang-schedulingfault-tolerancecheckpointing
  • Build a React component that fetches a list from a prop-supplied URL inside useEffect, with correct loading, empty, error and success states and no stale-response bugs.

    Model answerreactuseEffectrace-conditionsabortcontroller
  • Design the backend for a multi-city on-demand taxi app: dispatch, live driver tracking, dynamic pricing, durable payments and trip records, and resilience at millions of daily users.

    Model answersystem-designgeospatial-indexingreal-time-streamingdistributed-systems
  • Compare C++ and Go for backend work across memory, concurrency, error handling, language design and tooling, and justify which one fits a given service.

    Model answercppgolanglanguage-comparisonconcurrency
  • Design a pipeline that ingests app events and serves daily and monthly distinct-user counts, with sliced dashboards, correct handling of late data, and sound data-quality and privacy practices.

    Model answersystem-designdistinct-countinghyperloglogstreaming
  • Design a distributed streaming service that reports the K most frequent keys over sliding and tumbling windows, with fast queries, hot-key tolerance and replay-safe results.

    Model answerstreamingtop-kcount-min-sketchspace-saving
  • A comprehensive technical overview of essential Java language mechanics, concurrency models, SOLID architecture, and Spring Framework core concepts for backend engineers.

    Model answerjavaspringconcurrencysolid-principles
  • Design the endpoints, data model, and core flows of a basic messaging service with durable sends, safe retries, ordered history, live push, and catch-up after a dropped connection.

    Model answersystem-designapi-designdatabase-schemaidempotency
  • Design an asynchronous text/image-to-video platform: job lifecycle, moderation, GPU scheduling, checkpoint-based recovery, and autoscaling for a mixed H100/A100 fleet.

    Model answergpu-schedulingdistributed-systemsjob-queuefault-tolerance
  • Architect a low-latency chat platform supporting 1:1 and large group channels, with real-time state synchronization and live streaming identification of high-activity groups.

    Model answersystem-designdistributed-systemswebsocketsstream-processing
  • Design a platform that tracks a million active events and reliably emails every registrant about reminders, changes, cancellations and follow-ups, covering scale, delivery guarantees and compliance.

    Model answersystem-designemail-pipelinemessage-queuescheduler
  • Design an end-to-end event collection, processing, and storage platform supporting interactive dashboard queries and deep historical analytics.

    Model answersystem-designdistributed-systemsevent-drivendata-engineering
  • Design a scalable, highly available observability system that ingests 1M data points per second, supports low-latency querying across retention tiers, and executes real-time alert conditions.

    Model answersystem-designtime-seriesstream-processingobservability
  • Architect an architecture for video ingestion, parallel adaptive-bitrate transcoding, and low-latency global delivery serving millions of concurrent streams.

    Model answersystem-designcdnvideo-streamingdistributed-systems
  • Design a high-throughput, fault-tolerant card payment processing network that handles dual-phase payment processing, ledger auditing, and stand-in processing.

    Model answersystem-designdistributed-systemspaymentsevent-driven
  • Architect a cloud IDE platform with hardware-level sandbox isolation, sub-100ms real-time document collaboration, and multi-tenant resource limits.

    Model answersystem-designmulti-tenancysandboxingmicrovm
  • 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.

    Model answerload-balancinghigh-availabilityhealth-checksconsistent-hashing

More topics