In this lab, you will implement Heap Sort algorithm for the same
inputs.
For each algorithm, and for each n = 100, 200, 300, 400, 500,
1000, 4000, 10000, measure its running time and number of steps
when the input is (1) already sort, i.e. n, n-1, …, 3, 2,1; (2)
reversely sorted 1, 2, 3, … n; (3) random permutation of 1, 2, …,
n; (4) 50 instances of n random numbers generated in the range of
[1..n].
Note:...