Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hi Can any one please help me with my below home work. This is lifesaver questio

ID: 3610379 • Letter: H

Question

Hi Can any one please help me with my below home work. This is lifesaver question for me. I appreciate your quick help in this.

Problem:
-- Run Straight Insertion, Selection and Shaker sort (a variationof bubble sort) on the input.
-- You can split the arrays at various points (25,000, 50,000,75,000 etc.). Keep track of the
key-to-key comparisons made and the number of moves. (Note that allthree algorithms
have (n2) complexity)
-- Run Quick sort, Heap sort and Merge sort in the same way. Againkeep track of the keyto-
key comparisons and the number of moves done by each algorithm oneach array.
-- Plot two graphs for the three (n2) algorithms one on thecomparisons done and another
one on the number of moves. (The reason to run the algorithm atvarious size inputs of
various sizes, so you can get points to plot).
-- Plot two more graphs by doing the same for the three O(nlogn)algorithms. Write a
summary comparing the results of various sorting algorithms.
-- If it is meaningful, you can keep track of the actualrunning time also in real time
and compare that too.
-- Run these algorithms on random, completely sorted and reverselysorted arrays. Find out
which algorithm performs better.
-- Do the results agree with your understanding of thesealgorithms? Are there any
surprises? Your analysis should be thorough and provide meaningfulinsights.
Please give me the graphs and analysis report.

Thanks.

Explanation / Answer

x.