Skip to content

Randomly generates numbers [1-200] 100 times and prints the tree into a table. Then prints height and sorts tree into inorder, preorder, and postorder.

Notifications You must be signed in to change notification settings

sebastianreel/bst-randomGen-withTraversals

Repository files navigation

Program: Binary Search Tree

Project:

  • Create a Binary Search Tree
  • Randomly Generate 100 numbers [1-200] and display them in the tree
  • Take values stored in tree, print height, and print the tree's sorted tarversals
    • inorder
    • preorder
    • postorder
  • Display the tree in both the terminal and into a text file

About

Randomly generates numbers [1-200] 100 times and prints the tree into a table. Then prints height and sorts tree into inorder, preorder, and postorder.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published