Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

For this assignment we are going to be working on a specialised binary tree which has the following restrictions: We can only enter Integer objects with a value of 0 to 9. The maximum height is 10...

1 answer below »

For this assignment we are going to be working on a specialised binary tree which has the following restrictions:

  • We can only enter Integer objects with a value of 0 to 9.
  • The maximum height is 10 (which means it can take a maximum of 1023 items)

The starter code for this assignment is given on canvas, as a Netbeans project, or as five separate Java Files. You can work in Netbeans, or use any other IDE of your choice.

The code contains the following files:

  • ArraySorter.java – This defines a class that can sort an arrays of Integers using different algorithms
  • BinaryTree.java – This is where the BinaryTree class is defined.
  • BST.java – This is where the BST class is defined. This class uses a BinaryTree object.
  • Heap.java – This is where the Heap class is defined. This class uses a BinaryTree object.
  • TestClass.java – this is the main class. It has some methods that you need to uncomment and run as you work through the tasks.
  • BStringBuilder.java – This class builds a string image of our binary trees. This helps you see the result of your work in the other modules. You do not need to change this class.
Answered Same Day Jul 16, 2021

Solution

Valupadasu answered on Jul 18 2021
139 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here