Question: Using java, create three Binary Search Trees of students. The names come from text files that need to be read line by line and separated
Using java, create three Binary Search Trees of students. The names come from text files that need to be read line by line and separated by First Name, Last Name, and ID number. The text file and each line will be included below.
Add the students from the text file studentNametxt to the first Binary Search Tree:
Add the students from the text file studentNametxt to the second Binary Search Tree:
If a student in the first Binary Search Tree is also in the second Binary Search Tree, then add this student to the third Binary Search Tree.
Print out how many students are in the third Binary Search Tree.
Print out these common students from the third Binary Search Tree.
studentNametxt
John
Smith
Lisa
Jones
Paul
Holmes
Rex
Hall
studentNametxt
Mike
Jimms
Lisa
Jones
Pablo
Hill
Rex
Hall
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
