Python implementation of tree data structure
Implemented classes Node and Tree. Class Tree includes:
- insertion
- visual representation of the tree
- breadth first search
- depth first search
- preorder traversal
- postorder traversal
- check if the tree is full
- check if the tree is complete
- check if the tree is perfect
In order to view graphical representation of a tree using print() function, install Graphviz graph visualization software and add it to your environmental variable path.