merge sort


Also found in: Dictionary, Thesaurus, Legal, Wikipedia.
Related to merge sort: Bubble sort, Insertion sort, Quick sort

merge sort

[′mərj ‚sȯrt]
(computer science)
To produce a single sequence of items ordered according to some rule, from two or more previously ordered or unordered sequences, without changing the items in size, structure, or total number; although more than one pass may be required for a complete sort, items are selected during each pass on the basis of the entire key.

merge sort

A sorting technique that sequences data by continuously merging items in the list. Every single item in the original unordered list is merged with another, creating groups of two. Every two-item group is merged, creating groups of four and so on until there is one ordered list. See sort algorithm and merge.
References in periodicals archive ?
Invariants of six true programs including bubble sort, merge sort, insertion sort, shell sort, compute sum of array elements and search into array are added to software database initially.
For example, Figure 2 shows the solved example of a merge sort where there is no word indicating that it is an example.
Also, for ruling out cases like recursion tree for merge sort (see Figure 5), only those slides in which the count on numerals is more than a threshold [beta] are considered.
Consider the merge sort program sort in Figure 1 and input change operation x [direct sum] y = cons(y,x).
Floyd's lower bound for transposition also applied to the problems of permuting and sorting (since they are more general problems), and the bound matched the number of I/Os used by merge sort. For these restricted values of M, B, and P, the bound showed that essentially [omega](log N) passes are needed to sort the file (since each pass takes O(N/B) I/Os), and that merge sorting and the permutation phase of key sorting both perform the optimum number of I/Os.