pub rstoetter cbalancedbinarytree cBalancedBinaryTree::__toString() - rstoetter/cbalancedbinarytree-php GitHub Wiki
Method __toString( ) - of API Reference pub
public string rstoetter\cbalancedbinarytree\cBalancedBinaryTree::__toString()
- Namespace : rstoetter\cbalancedbinarytree
- Class name: cBalancedBinaryTree
- This method is defined by the class rstoetter\cbalancedbinarytree\cBalancedBinaryTree
print the whole tree by buliding a string consisting of the unique keys of the nodes we have visited
Returns
string the tree as a string consisting of the unique keys of the nodes found in the tree