Skip to content

Drapegnik/BST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

BST

Codacy Badge

Binary Search Tree with console visualization on Java

implemented features:

  • add(value) - adding new node with value to tree
  • search(value) - search node with value in tree
  • del(value) - search and delete node with value from tree
  • goLeftRootRight() - print nodes value in left-root-right tree walk
  • goRootLeftRight() - print nodes value in root-left-right tree walk
  • gotLeftRightRoot() - print nodes value in left-right-root tree walk
  • draw() - draw colored tree in concole

examples:

LeftRootRight: 1 3 4 5 6 7 11 12 13 14 15 16
RootLeftRight: 7 4 3 1 5 6 12 11 14 13 15 16
LeftRightRoot: 1 3 6 5 4 11 13 16 15 14 12 7


Releases

No releases published

Packages

No packages published

Languages