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.
7 write-ups
| Title | Difficulty |
|---|---|
| Design an Elevator System Design a multi-elevator controller that moves each car with the SCAN (LOOK) algorithm and dispatches every hall call to the car that would arrive first. | Medium |
| Design a Delayed Task Scheduler Design a ScheduledExecutor-style scheduler: a delay queue ordered by due time, one timer thread that sleeps until the next task, cancellation and fixed-rate repeats. | Medium |
| Design a Grocery Subscription Service Design a grocery subscription service where customers get a basket every few days, can pause, resume or cancel, and a daily job turns every due subscription into an order. | Medium |
| 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 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 Smart Thermostat Design a smart thermostat with off, heat, cool and auto modes, a daily schedule with manual holds, several room sensors, and a deadband so the furnace does not flick on and off. | Easy |
| Design a Traffic Light Controller Design the controller for a two-road crossroads: green and yellow phases on timers, a rule that two roads are never green at once, and a pedestrian button that adds a walk phase. | Easy |