Đã hoàn thành

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.

Kĩ năng: Java, PHP, Kiến trúc phần mềm

Xem nhiều hơn: heapsort java, integers and, how to work integers, how are integers used, Marking, heap, order java, java class library, php class found, data interface java, storage functions, java add data, test functions java, java data project, add data java, java project class, java functions test, method found, implement java, class library project, class library implements, java class project, different tests, class library, java use

Về Bên Thuê:
( 2 nhận xét ) Hamilton, New Zealand

ID dự án: #1069995

Được trao cho:


Hello, Please check your inbox Thanks

$80 NZD trong 1 ngày
(59 Đánh Giá)

5 freelancer đang chào giá trung bình $74 cho công việc này


Lets [login to view URL] PM.

$70 NZD trong 1 ngày
(176 Nhận xét)

Hello, Please view PMB. Ashwin

$100 NZD trong 5 ngày
(42 Nhận xét)

I am ready to do it

$60 NZD trong 0 ngày
(5 Nhận xét)

I'm a [login to view URL] in Computer Science and have lots of experience in [login to view URL] do it easily as specified.

$60 NZD trong 1 ngày
(0 Nhận xét)