Durable Key-Value Store Serialization
Medium · Coding
Build a durable string key-value store on a simulated byte filesystem using length-prefixed binary serialization, chunked storage under a 1 KB file-size limit, and an append-only log with torn-write crash recovery.
This is a Pro problem. Pro unlocks the full prompt, a step-by-step walkthrough, a reference solution and tests you can run.
More OpenAI problems
- Infection Spread / Cellular Automata
- GPU Credits / GPU Credit 2
- Social Network / Follow Graph
- Poker Simulation
- Classifier with Noisy Annotators
- NumPy Puzzle: 1-NN Vectorization → Wx+b Network
- Memory Allocator
- Transformer Bug Hunt
- Distributed Machine Cluster Count and Topology
- Autograd / Manual Backprop + Hillis-Steele Scan