SearchTreeSourceData stored in the tree
Data model to store the tree
Compare the data of the tree. Return an integer which symbolise the difference between two numbers.
Print the tree. The order : Left child, Node value, Right child.
Print the tree. The order : Node value, Left child, Right child.
Print the tree. The order : Left child, Right child, Node value.
Verify if the tree is valid. Scan the elements of the tree to find if there are in the right order.
Add at the right place the wanted element.
Return the minimal element of the tree. Send an error if the tree is empty
Return the minimal element of the tree. The optionnal version of min_elt
Return the maximal element of the tree. Send an error if the tree is empty
Return the maximal element of the tree. The optionnal version of max_elt