Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BSTOrder

Program makes a binary search tree based on what user inputs and then traverses the tree and tells the user what order the tree was traversed in.

The program can read commands such as insert remove and traverse.

Insert

20 10 30 15 25

Traverse

20 10 15 30 25

Remove

10

Traverse

15 20 25 30

Insert

12

Traverse

-1

Here the program will output

Preorder

Inorder

False

False will happen because -1 is not in the tree.

Currently the program is set up to just read input1.txt and will make a new output file.

About

Program makes a binary search tree based on what user inputs and has features that such as changing orders of the tree.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages