<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Merge algorithm - Page 2 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=merge_algorithm&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=merge_algorithm&amp;p=3">3.Next</a>
</p>
<p>role in the <a href="page.php?w=merge_sort">merge sort</a> algorithm, a <a href="page.php?w=comparison_sort">comparison-based sorting algorithm</a>. Conceptually, the merge sort algorithm consists of two steps:</p>

<p>
# <a href="page.php?w=Recursion_%28computer_science%29">Recursively</a> divide the list into sublists of (roughly) equal length, until each sublist contains only one element, or in the case of iterative (bottom up) merge sort, consider a list of n elements as n sub-lists of size 1. A list containing a single element is, by definition,</p><p>
<a accesskey="1" href="page.php?w=merge_algorithm&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=merge_algorithm&amp;p=3">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
