Talk:Tree from nesting levels
History or provenance of this data-structure ?
Are we sure that this is the most useful representation of 'missing' levels ?
The integers here are carrying a dual load – both as the value of a tree node, and as indicators of nesting depth.
The structure appears to slightly crack under its own weight, losing a bit of recursive coherence and easy traversability, at the point where a nesting level is skipped, and we get nodes with missing values.
Before we jump in with examples in different languages, are you sure that this data-structure has stabilised ? Does it have a history or provenance that you can reference ? Hout (talk)