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 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 Rule Engine Design a fraud rule engine for card payments, with conditions composed from AND, OR and NOT, velocity rules, the most severe action winning, and safe rule changes under concurrent load. | Medium |
| 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 |
| Design a Unix File Search Design a find-style file search with filters by name, extension, type and size that combine with AND and OR, a lazy depth-first tree walk, and an ls -R listing. | Medium |
| Design an Expression Evaluator Design an evaluator for arithmetic expressions with operator precedence, unary minus, variables and new operators added at runtime, built as tokenizer, parser and expression tree. | Medium |
| Design an In-Memory File System Design an in-memory file system with absolute paths, directories and files, mkdir -p, ls, write, append, read, recursive sizes and rm -r, built on the Composite pattern. | Medium |