Expand description

This module implements a simple binary tree.

The tree supports inserting and retriving elements. Deleteing an element is not supported.

std::vec::Vec is used to implement the binary tree.

Structs

The binary tree.
Node of the binary tree.

Type Definitions

The index to retrive the tree node. Always get the index value from BinaryTree APIs. Don’t directly assign a value to an index.