Solved-Assignment 01- Solution

$35.00 $24.00

Write a mergesort function which makes three recursive calls of length n/3 on an array of size n, and then merges three sorted arrays into one. You need a special case for arrays of length 2.   void mergesort(int * a, int * aux, int length);

You’ll get a: . zip file solution

 

 
Categorys:

Description

5/5 – (2 votes)

Write a mergesort function which makes three recursive calls of length n/3 on an array of size n, and then merges three sorted arrays into one. You need a special case for arrays of length 2.

 

void mergesort(int * a, int * aux, int length);