Implementation of a binary tree in python. It allows the creation, modification, and printing of a binary tree data structure.
The program was created with Python3.
python ./main.py
to execute a test case of the code.
Methods:
getRoot() - Return root of the binary tree
add(data) - Add data's value onto the binary tree as a node
find(data) - Find the node that contains data in the binary tree
deleteTree() - Delete the binary tree
printTree() - Prints all node values in the binary tree onto console