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.
3 write-ups
| Title | Difficulty |
|---|---|
| Design a Deadlock Detector Design a lock manager that builds a wait-for graph, detects a deadlock the moment it forms, picks a victim to abort, and hands its locks to the next waiters, safely across threads. | Medium |
| Design a Garbage Collector Design a garbage-collected heap with roots, references and automatic collection, compare reference counting with mark-and-sweep, and see why cycles and deep chains shape the design. | Hard |
| Design a Social Network Design a Facebook-style social network with friend requests, posts, likes, comments, a news feed merged from friends' posts, and LinkedIn-style connection degrees. | Medium |