flat-tree
Map a binary tree to a list. Adapted from mafintosh/flat-tree.
Usage
extern crate flat_tree;
let parent = parent;
println!;
Why?
You can represent a binary tree in a simple flat list using the following structure:
3
1 5
0 2 4 6 ...
This module exposes a series of functions to help you build and maintain this data structure.
License
MIT OR Apache-2.0