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 Memory Allocator Design a malloc-style allocator over a fixed heap with allocate, free and reallocate, first-fit and best-fit placement, block splitting, coalescing of free neighbours, and fragmentation stats. | Hard |
| Design a Message Queue Design a Kafka-like message queue with partitioned append-only logs, key-based partitioning, consumer groups with rebalancing, committed offsets, time-based retention and thread-safe producers and consumers. | Hard |
| Design a Multi-Level Cache Design an L1/L2 cache in front of a slow store, with LRU eviction per level, promotion on reads, write-through and write-back policies, and a distributed version with consistent hashing and quorums. | Hard |