Question: HW help Java! NB: pre-populate the tree with the given numbers in order. On this HW you will write a menu system that will call
HW help Java! NB: pre-populate the tree with the given numbers in order.


On this HW you will write a menu system that will call up a series of popular tree-based utilities. The HW is from your textbook, and is found on page 637, #19, problems a,b,c,d,e,g Your tree will be initially populated with the following values (in order): 61, 66, 48, 70, 75, 59, 60, 49, 51, 52 NB: prepopulate the tree in PSVM; don't always populate it every time you run it Welcome to the TreeBin Program Author: Sara Holmes Select an Option from the Menu: a. Add an item b. Count the nodes c. Compute the tree height d. Find the maximum element T e. Find the sum of the elements f. Find the average of the elements g. Find if one element is an ancestor of another h. Quit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
