Homework in Java

Write in Java

Part A: Update the java file names to include your initials at the end, send .java file only.
1. Write in-place heapSort, which takes an array of data, convert it to max heap using bottom-up
algorithm. The expected run time should be O(n), where n is the total number of data.
BubbleDown method is provided. You may test it in this Sort.
2. Write complete code for a MinHeapPriorityQueue method removeThirdMin that efficiently
removes and returns the third minimum element from the data structure. It shouldnt have
more than 3 comparisons to find the third minimum element. Your solution can make use of
the methods bubbleUp, bubbleDown and swapData but must not apply the constructor or
either of the methods add/enqueue and removeMin/dequeue.
For example, if the array contains the following elements:
1, 2, 3, 4, 5, 6, 7
It should be changed by removeThirdMin to
1, 2, 6, 4, 5, 7
Extra Credit: Modify quickSort method, to use insertionSort if sub-problem is small. Check with size
4, 8, 16, which give the best runtime?
Part B
1. Show how an initially empty min heap looks like after inserting following elements in the given
order. Draw the min heap and the array.
5, 2, 7, 8, 6, 1, 7
2. Show how a bottom-up min heap construction looks like from the above given values. Draw the
min heap and the array.
3. What is the best-case and worst-case of insertionSort?
4. What is the best-case and worst-case of mergeSort?
5. What is the best-case and worst-case of quickSort?
6. What can we do to lower, if not eliminate completely, the chances of worst-case of quickSort?
Extra Credit:
If we can access the data of a min-heap, how do we find the k-th minimum value efficiently? That
means instead of O(log n), can we speed up to O(log k)?

i would like to write about britain and the united states have accused russian military intelligence known as gru for orchestrating destructive cyberattacks to countries in 2017 gru launched a cyber attack that took down the ukrainian energy grid and c 2

I would like to write about (Britain and the United States have accused Russian military intelligence known as GRU for orchestrating destructive cyberattacks to countries. In 2017, GRU launched a cyber attack that took down the Ukrainian energy grid and crippled business in the country’ cyber attack)

https://apnews.com/4186412c1d8df3dfdfdff2df2b37d2e…

https://www.nbcnews.com/tech/security/u-s-britain-…

 

Submit Your Assignment and get professional help from our qualified experts!


i would like to write about britain and the united states have accused russian military intelligence known as gru for orchestrating destructive cyberattacks to countries in 2017 gru launched a cyber attack that took down the ukrainian energy grid and c 2 was first posted on July 17, 2020 at 5:38 am.
©2019 "Submit Your Assignment". Use of this feed is for personal non-commercial use only. If you are not reading this article in your feed reader, then the site is guilty of copyright infringement. Please contact me at support@nursingessayswriters.com

 

“Are you looking for this answer? We can Help click Order Now”


case-study-1307

Must identify all legal issues (with emphasis on business law legal issues) for the following fact pattern

 

ORDER THIS PAPER OR A SIMILAR ORDER WITH TERM PAPER TUTORS AND GET AN AMAZING DISCOUNT

 

“Are you looking for this answer? We can Help click Order Now”


easy research work 5 pages

Roman Catholic

Jewish (specify)

Protestant (specify denomination)

Church of Jesus Christ of Latter-Day Saints

Buddhist (specify which culture)

Hindu

Due Date: March 3d 2020 by 8:00 am

Der is worth 50 points.

Format:

  • Title page will include Title of the paper; student’s names and Professor’s names; Course title, Catalogue number and date in a Times New Roman 12-point font black ink.
  • The entire paper double-spaced, in a Times New Roman 12-point font, black ink, 1” margin maximum, page numbered and left justified.
  • Report to include 5 pages of research maximum (not including title page, reference page or artwork)
  • Use accurate spell check and grammar check throughout your paper; you may include artwork, such as memorial folder, prayer cards, etc: please be thorough in your report.
  • Reference page in alpha order to include at least five appropriate primary sources other than your original textbook: Use only APA (6) citation requirements throughout the paper for all of your references. If you use a web site, the URL is required.
  • You may not use “Wikipedia” or similar collective media outlets or lecture notes as references
  • A simple report cover and the last page of the checklist are required for this research paper. Absence of any of these items will reduce your overall grade by 1 letter.
  • Plagiarized work may lead to final exam cancellation

I will be able to do the cover letter. This is my criteria for the paper. It’s due on March 3rd.

I need a research paper over the Roman Catholic funeral services with research from credible sources and a works cited.

Page. 5 pages long.

I have also attached the rubric for reference

 

Submit Your Assignment and get professional help from our qualified experts!


easy research work 5 pages was first posted on July 17, 2020 at 5:46 am.
©2019 "Submit Your Assignment". Use of this feed is for personal non-commercial use only. If you are not reading this article in your feed reader, then the site is guilty of copyright infringement. Please contact me at support@nursingessayswriters.com

 

“Are you looking for this answer? We can Help click Order Now”