Merge algorithm: Difference between revisions

Content deleted Content added
Application: Explained how the merge algorithm relates to merge sort.
Application: Fixed typo
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 3:
 
== Application ==
[[File:Merge sort algorithm diagram.svg|thumb|upright=1.5|A graph exemplifying merge sort. Two red arrows starting from the same node indicatedindicates subdivision, while two green arrows ending in the same node corresponds to an execution of the merge algorithm.]]
The merge algorithm plays a critical role in the [[merge sort]] algorithm, a [[comparison sort|comparison-based sorting algorithm]]. Conceptually, the merge sort algorithm consists of two steps: