Question: I need help to solve this problem. Now your lecturer believes that he has found a new and much better recursive version of this. The
I need help to solve this problem.

Now your lecturer believes that he has found a new and much better recursive version of this. The algorithm for
void superInnstikk (int [] a, int v, int h) { .. 3a) (20%) Type sequential Java code for this recursive algorithm. (to sort an array a [], the method is called this: superInnstance (a, 0, a.length1);) 3b) (3%) Explain why this really sorts a [] and justify which order O () in driving time this algorithm has. 3c) (5%) A slight improvement in the algorithm is how the insertion of a new element in the left is done - we can eventually do this a bit faster during the insertion in the left. Type Java code for this. 3d) (7%) Explain, do not write code for how you can easily parallelize this algorithm.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
