Question: 1. Write a java program named BSTree.java that will: a. Generate 100 random integer numbers ranging from 1-99. b. Build a Binary Search Tree

1. Write a java program named BSTree.java that will: a. Generate 100

 

1. Write a java program named BSTree.java that will: a. Generate 100 random integer numbers ranging from 1-99. b. Build a Binary Search Tree using this set of numbers. c. Delete 50 and 60 from the Binary Search Tree and rebuild the tree d. After building the tree, display the data into three formats: prefix order, infix order and postfix order.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!