The set data structure implementation needs two improvements to fix type correctness and performance:
The set data structure implementation needs two improvements to fix type correctness and performance:: a task in LegoFlow-SWE (Harbor dataset). The node memory block must contain: - a 1‑byte balance factor (a signed byte ), - a parent pointer, - left‑child pointer, - right‑child pointer, - and the…
The task
The node memory block must contain: - a 1‑byte balance factor (a signed `byte`), - a parent pointer, - left‑child pointer, - right‑child pointer, - and the key data – all in a single contiguous allocation.
Part of Lego-X/LegoFlow-SWE.