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.
6 write-ups
| Title | Difficulty |
|---|---|
| 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 |
| Design a Vending Machine Design a coin-operated vending machine with products, a coin box that pays exact change, a cancel button and a service mode for restocking, using the State pattern. | Easy |
| Design an Apartment Visitor System Design a gated-community visitor system where guards log visitors, residents approve or deny them, guests use pre-approved passes, and the gate always knows who is inside. | Easy |
| Design Battleship Design two-player Battleship with validated ship placement, a placement-then-battle game phase, shots that report miss, hit and sunk in constant time, and room for a computer opponent. | Easy |
| Design Minesweeper Design Minesweeper: mine placement kept outside the game, neighbor counts, flood reveal with a queue, flags, and win or lose detection with a counter instead of a board scan. | Easy |