Question: Build an application which populates Binary Tree and then saves all nodes data into a file data.dat by using object IO. Each node should have

Build an application which populates Binary Tree and then saves all nodes data into a file data.dat by using object IO. Each node should have following data

Patient Name

Father Name

Age

NIC(Numeric)

Address

Disease

Doctor Name

Patient ID(Numeric).

NIC and patient ID should be unique. Choice should be given to the user either build Binary Tree on basis of NIC or Patient ID. Traversal using DFS and BFS should be implemented as well. The binary tree should be built from top- down, left-right approach.

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!