Question: In this lab you have to make a data structure for Binary Tree. You should have at least these three data types in your class

 In this lab you have to make a data structure for

In this lab you have to make a data structure for Binary Tree. You should have at least these three data types in your class of Node, left child pointer and right child pointer and data. You will have to make a function that adds a number in its correct location. User will decide where to enter the data, so your program should ask whether to move towards right child or left child

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!