Binary Tree 1.0
Binary Tree can be used to manage an hierarchies of objects within a binary.
Each object of Binary Tree is a node that may have a reference two descendent objects: the right and the left nodes. Each tree node object may contain a data variable of an arbitrary type.
Binary Tree provides functions for adding nodes given the left and right descendent nodes (oif any), as well to traverse the tree and print the data value of the nodes and count the number of nodes in the tree. (PHP5)
More popular Data Type
- 7.9 KB
- 09/26/2008 02:52:36