Everyone should work with one lab partner on this assignment.
The purpose of this in-lab is to help you better understand heap sort.
Create a BlueJ project named inlab13 and place the following code into it:
Consider the following initial elements in the following order in an array: 5 6 4 3 7 8 2 1 9 0.
Modify the HeapSort class so that the findKthLargestItem task works correctly. Test your method with the following inputs:
When your code is working, call over Mike or a consultant. This person will test your program and report the results to Mike.
After Part II is finished, modify the HeapSort class so that it does the minimal amount of work to find the kth largest item.
When your code is working, call over Mike or a consultant. This person will test your program and report the results to Mike.
Delete any BlueJ projects that you created and empty the recycle bin. Thanks.