Question: Create the following menu: 1. Add new node to the binary search tree 2. Search for a node 3. Delete a node 4. Print data

Create the following menu:

1. Add new node to the binary search tree

2. Search for a node

3. Delete a node

4. Print data

5. Exit

Important notes:

1. write the methods by yourself. DONT use the library in Java.

2. The user should insert all data even in the first node (root)

3. The menu should be repeated each time until the user enter 5 (exit)

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 Databases Questions!