Skip to main content

Practice ยท 2 of 3

Deterministic Iteration

Implement kv_count and kv_iter: visit live slots in slot order, skipping tombstones and empty slots. A deleted key must never be observed again, and count must agree with iteration on every state.

Difficulty: intermediate

Back to lesson: Practice: The Table Core