En cours

HeapSort in Java

I want two different copies for the same project.

You are required to implement a min Heap, called [url removed, login to view] which implements the MinHeap interface provided. Your Heap may allow duplicates to be stored and it does not matter how you determine ordering for two nodes of the same value. As well as the usual Heap methods of add, peek and remove, your Heap class must include an additional method which determines whether or not a given ArrayList of Integers is in correct order to represent a min Heap.

You also need a method which returns the ArrayList of Integers which represents the Heap; this is just for testing/marking purposes and is not a usual Heap method. Your Heap data should be stored in an ArrayList of Integers where every element is used for storage i.e. you should not leave the 0th element empty. The methods you must implement are given in the MinHeap interface. You must implement a class called MyMinHeap that implements this interface. Make sure your class passes the tests in HeapTester.

NB: You must implement this class yourself and not use a built in library or one you’ve found.

The [url removed, login to view] interface is provided for you, you must not change this in any way. The MinHeap interface describes how each of the functions you are required to implement are supposed to work. A test class called HeapTester is provided which can be used to test your min Heap works correctly.

Compétences : Java, PHP, Architecture Logicielle

Voir plus : heapsort java, integers and, work integers, integers used, marking, heap, order java, data interface java, storage functions, java add data, test functions java, java data project, add data java, java functions test, method found, implement java, different tests, java use, java method, java functions, debonairre, min java project, min project java, nodes, remove duplicates

Concernant l'employeur :
( 2 commentaires ) Hamilton, New Zealand

N° du projet : #1069995

Décerné à :


Hello, Please check your inbox Thanks

80 $ NZD en 1 jour
(59 Commentaires)

5 freelance ont fait une offre moyenne de 74 $ pour ce travail


Lets start.Check PM.

70 $ NZD en 1 jour
(176 Commentaires)

Hello, Please view PMB. Ashwin

100 $ NZD en 5 jours
(42 Commentaires)

I am ready to do it

60 $ NZD en 0 jours
(5 Commentaires)

I'm a b.tech in Computer Science and have lots of experience in java.Can do it easily as specified.

60 $ NZD en 1 jour
(0 Commentaires)