Question: Write a program using c++ to create modified version of Merge sort in which insertions sort will be used for merging elements. Compare the execution

Write a program using c++ to create modified version of Merge sort in which insertions sort will be used for merging elements. Compare the execution time of this algorithm with basic merge sort algorithms for random number arrays of size 5000,10,000 and 20,000.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!