ECE39595 Homework 7 Solved

30.00 $

Category:

Description

Rate this product

See the code provided in the Code directory, which implements a Node class that allows trees to be built. Convert this code into a Generic class that is parameterized by a single type T that is the type of the data field in Node. Types for T should be restricted to types that extend from Comparable.

What to turn in:

Turn in your code in a directory called <userid>, where <userid> is your Purdue login/userid. javac Test.java executed in the userid directory should allow this code to compile, and java Test executed in the userid directory should execute your program. Zip up the userid directory and turn it in.

  • HW7-rhugsw.zip