Skip to content

eliza-mat/n-ary-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

N-ary-tree

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.

Releases

No releases published

Packages

No packages published

Languages