HF RL Explorer

Ziplist Data Structure Implementation

Ziplist Data Structure Implementation: a task in LegoFlow-SWE (Harbor dataset). We need a new compact data structure, ziplist , that can store a sequence of entries in a contiguous byte buffer. Each entry can represent either an unsigned integer or a string value. The design must provide an…

The task

We need a new compact data structure, **ziplist**, that can store a sequence of entries in a contiguous byte buffer. Each entry can represent either an unsigned integer or a string value. The design must provide an encoding/decoding API for individual entries (`zipentry`) and container-level operations for the list…

Part of Lego-X/LegoFlow-SWE.