Question: Write a program in C/C++, Matlab or Java that runs MERGE-SORT on a 16-long array of randomly generated real numbers in the interval (0, 1).
Write a program in C/C++, Matlab or Java that runs MERGE-SORT on a 16-long array of randomly generated real numbers in the interval (0, 1). The output should be the initial array and every rearrangement of the array after every call to MERGE.
Make sure your program is RECURSIVE.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
