Template Function ADS::to_binary

Function Documentation

template<class T>
BinaryTree<T> *ADS::to_binary(const Tree<T> *t)

the binary tree that represents the ordered tree t (Figura 5.9): the left child of a node is its first child in t, the right one its next sibling; the caller owns the result

Pre:

t is a node