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.
5 write-ups
| Title | Difficulty |
|---|---|
| Adapter Pattern How the Adapter pattern wraps third-party APIs, such as payment providers, behind an interface your code owns, with a worked checkout example, variations and when not to use it. | |
| Composite Pattern How the Composite pattern lets you treat one object and a group of objects the same way, with a files and folders example, a menu with combo meals, variations and when not to use it. | |
| Decorator Pattern How the Decorator pattern stacks extra behavior on an object without subclassing every combination, with a pizza toppings example, a notifier walkthrough, variations and when not to use it. | |
| Facade Pattern How the Facade pattern gives callers one simple entry point over several subsystems, with an order checkout example, the orchestrator class in LLD problems, variations and when not to use it. | |
| Proxy Pattern How the Proxy pattern puts a stand-in with the same interface in front of a real object to load it lazily, check access or cache results, with a document store example and when not to use it. |