<?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="Comparison sort - Page 17 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=comparison_sort&amp;p=16">1.Previous</a><br />
<a accesskey="3" href="page.php?w=comparison_sort&amp;p=18">3.Next</a>
</p>

<p>The above argument provides an absolute, rather than only asymptotic lower bound on the number of comparisons, namely  comparisons. This lower bound is fairly good (it can be approached within a linear tolerance by a simple merge sort), but it is known to be inexact. For example, , but the minimal number of comparisons to sort 13 elements has been proved to be 34.</p>

<p>Determining the exact number of comparisons needed to sort a given number of entries is a computationally hard problem even for small n, and no simple formula for the solution</p><p>
<a accesskey="1" href="page.php?w=comparison_sort&amp;p=16">1.Previous</a><br />
<a accesskey="3" href="page.php?w=comparison_sort&amp;p=18">3.Next</a>
</p>

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

</card>
</wml>
