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.
4 write-ups
| Title | Difficulty |
|---|---|
| Command Pattern How the Command pattern turns actions into objects you can undo, redo, queue and log, with a text editor undo/redo example, a smart home scheduler walkthrough, variations and when not to use it. | |
| Design Chess Design a two-player chess game with piece movement rules, move validation that respects check, checkmate and stalemate detection, and a move history with undo. | Hard |
| Design a Collaborative Document Editor Design a Google Docs style document server: concurrent edits rebased onto the latest text, a version history you can read at any point, and nested comments anchored to text that moves. | Hard |
| Design a Text Editor Design a text editor with a cursor, typing and backspace, cursor moves, and undo/redo built from command objects, on a two-stack buffer that keeps every edit fast. | Medium |