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.
12 write-ups
| Title | Difficulty |
|---|---|
| Design a Calendar Design a shared calendar with recurring events stored as rules plus one-off edits and deletes, reminders fired by a clock tick, and team events that need N free members within working hours. | Medium |
| Design a Customer Support Chat Design an Intercom-style support inbox with conversations routed to agents by capacity, helper agents who join, read receipts with per-user watermarks, and toggled emoji reactions. | Medium |
| Design a Feature Flag Service Design a feature flag service with kill switches, targeting rules, sticky percentage rollouts, a versioned config with per-flag rollback, and watchers that never miss a change. | 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 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 |
| Design a Pub/Sub System Design an in-memory publish/subscribe broker with topics, a bounded inbox per subscriber, a drop-oldest policy for slow readers, and async delivery by dispatcher threads. | Medium |
| Design a Social Network Design a Facebook-style social network with friend requests, posts, likes, comments, a news feed merged from friends' posts, and LinkedIn-style connection degrees. | Medium |
| Design an Alerting System Design an alerting engine with metric threshold (query) checks and health checks, an OK / PENDING / FIRING state machine with a "for" duration, and notifications on firing and resolving. | Medium |
| Design an Inventory Management System Design multi-warehouse inventory: on-hand and reserved stock, reservations that are committed or released, a swappable rule for picking warehouses, and low-stock alerts that fire once. | Medium |
| Design an Online Stock Brokerage Design an online brokerage with accounts and cash, market and limit orders that hold funds until they fill, a portfolio valued at live prices, and named watchlists. | Medium |
| Design Stack Overflow Design a Q&A site with questions, answers and tags, one vote per user per post, accepted answers, reputation that stays correct when votes change, ranked answers and tag search. | Medium |
| Implement a Promise / Future Build a thread-safe promise that settles once, wakes blocked readers with timeouts, runs then-callbacks exactly once, and combines results with allOf and anyOf, like a small CompletableFuture. | Medium |