<?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="Time complexity - Page 7 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=time_complexity&amp;p=6">1.Previous</a><br />
<a accesskey="3" href="page.php?w=time_complexity&amp;p=8">3.Next</a>
</p>
<p>mean the running time must be entirely independent of the problem size; rather, it should have a consistent upper bound irrespective of input size. For example, a task that involves swapping the values of  and  to ensure  is classified as constant time, even if the execution time may vary depending on whether the condition is already met. The key is that there exists a constant  such that the time taken will never exceed , regardless of the input values.</p>

<p>Constant-time algorithms are especially significant in contexts like cryptography,</p><p>
<a accesskey="1" href="page.php?w=time_complexity&amp;p=6">1.Previous</a><br />
<a accesskey="3" href="page.php?w=time_complexity&amp;p=8">3.Next</a>
</p>

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

</card>
</wml>
