Skip to content

Latest commit

 

History

History
 
 

Binary_tree

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Star Badge Open Source Love

Binary Tree

🛠️ Description

Implementation of a binary tree in python. It allows the creation, modification, and printing of a binary tree data structure.

⚙️ Languages or Frameworks Used

The program was created with Python3.

🌟 How to run

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

🤖 Author

Alexander Monterrosa