1.

Which Are The Main Steps Of A Merge Sorting Algorithm?

Answer»

Sorting by merging is a recursive, divide-and-conquer STRATEGY. The BASIC steps to perform are the following:

a) divide the sequence into two sequences of length
b) recursively SORT each of the two subsequences
c) merge the sorted subsequences to obtain the final result

Sorting by merging is a recursive, divide-and-conquer strategy. The basic steps to perform are the following:

a) divide the sequence into two sequences of length
b) recursively sort each of the two subsequences
c) merge the sorted subsequences to obtain the final result



Discussion

No Comment Found