Low-level design
Object-oriented design for interviews: the framework, design principles and patterns, concurrency, and problem breakdowns you can practice in the code runner.
Object-oriented design for interviews: the framework, design principles and patterns, concurrency, and problem breakdowns you can practice in the code runner.
| Title | Difficulty |
|---|---|
| Design a Job Scheduler Design a job scheduler that runs immediate, one-off and recurring jobs on a fixed worker pool, with an event loop over timers, clear status tracking, cancellation and room for cron schedules. | Medium |
| Design a JSON/XML Parser Design a parser that reads JSON and a subset of XML into one document tree, with a tokenizer, recursive descent, numbers kept exactly, and a registry that makes formats swappable. | Medium |
| Design a Lead Distribution Engine Design an engine that hands incoming sales leads to agents, with a swappable rule per business unit (round robin, least loaded, skill match), agent capacity and availability. | Medium |
| Design a Leaderboard Design a game leaderboard that adds points to players, sums the top K totals and resets players, from sorting on every read to a heap to an always-sorted score index, plus ranks, daily boards and scale. | Medium |
| Design a Library Management System Design a library system with books and their physical copies, members with loan limits, due dates and late fines, and a first-come-first-served hold queue that keeps returned copies for the next member. | Medium |
| Design a Live Cricket Score App Design a Cricbuzz-style live cricket score app that records every ball, tracks runs, overs, wickets and strike, writes ball-by-ball commentary, lists the schedule and ranks players by career stats. | Medium |
| Design a Load Balancer Design an in-process load balancer with pluggable round robin, weighted, least connections and random picking, health status, and retries that move a failed request to another backend. | Medium |
| Design a Loading Cache Design a thread-safe cache that loads missing values through a loader, runs one load per key when many threads miss at once, expires entries after a TTL, and never caches failures. | Medium |
| Design a Log Storage System Design a log store that saves ids with timestamps and returns every log in a time range at a chosen granularity, from field-by-field checks to one string range over a sorted index. | Medium |
| Design a Logging Framework Design a logging framework with levels, appenders and formatters, an async bounded buffer with backpressure policies and flush, and an audit trail that never loses an entry. | Medium |
| Design a Meeting Room Scheduler Design a meeting room scheduler that books the smallest free room with enough seats, detects time conflicts quickly with sorted bookings, and supports cancels and availability queries. | Medium |
| Design a Multi-Stage Pipeline Design an in-process pipeline whose stages run on their own threads, joined by bounded queues for backpressure, with a poison-pill shutdown that finishes every accepted item. | Medium |
| Design a Multithreaded Download Manager Design a download manager that splits files into chunks fetched in parallel by a worker pool, retries failed chunks, supports pause and resume, and reports progress safely across threads. | Medium |
| Design a Multithreaded Web Crawler Design a crawler that follows links on one host with a pool of worker threads, a shared frontier and visited set, robots rules, and a correct way to know when the crawl is done. | Medium |
| Design a Music Player Design a Spotify-style music player with a song library, playlists, a play queue, next and previous, repeat one or all, and a reproducible shuffle that keeps the current song playing. | Medium |
| Design a Notification Service Design a multi-tenant notification service with per-tenant templates, email/SMS/push channels, a priority queue drained by workers, and retries with exponential backoff. | Medium |
| Design a Parallel Merge Sort Design a fork/join engine on a fixed thread pool that runs a parallel merge sort and a parallel sum, avoids pool-starvation deadlock, and knows when splitting stops paying off. | Medium |
| Design a Payment System Design a payment orchestrator that routes each payment to a provider by method with failover, moves it through a strict state machine, and makes client retries safe with idempotency keys. | Medium |
| Design a Pipeline Runner Design a CI-style pipeline runner that loads jobs from a YAML config, rejects unknown dependencies and cycles, runs ready jobs in parallel on a fixed worker pool, and skips everything downstream of a failure. | Medium |
| Design a Project Management Tool Design a Jira or Trello style tracker with projects, members, prioritized tasks, a status workflow with rules, assignees, comments, an activity history and board queries. | Medium |