📄 complexity.html
字号:
<HTML><HEAD> <TITLE>Complexity</TITLE></HEAD><BODY BGCOLOR="FFFFFF"><TABLE WIDTH="100%" BGCOLOR="EEEEFF"><TR><TD> <A HREF="index.html">cppreference.com</A> -> Complexity</TD></TR></TABLE><H3>Complexity</H3><P>There are different measurements of the speed of any given algorithm. Given aninput size of <strong>N</strong>, they can be described as follows:</P><TABLE> <TR> <TH>Name</TH> <TH>Speed</TH> <TH>Description</TH> <TR> <TR BGCOLOR="EEEEFF"> <TD>exponential time</TD> <TD>slow</TD> <TD>takes an amount of time proportional to a constant raised to the <STRONG>N</STRONG>th power (K^<STRONG>N</STRONG>)</TD> <TR> <TR> <TD>polynomial time</TD> <TD>fast</TD> <TD>takes an amount of time proportional to <STRONG>N</STRONG> raised to some constant power (<STRONG>N</STRONG>^K)</TD> <TR> <TR BGCOLOR="EEEEFF"> <TD>linear time</TD> <TD>faster</TD> <TD>takes an amount of time directly proportional to <STRONG>N</STRONG> (K * <STRONG>N</STRONG>)</TD> <TR> <TR> <TD>logarithmic time</TD> <TD>much faster</TD> <TD>takes an amount of time proportional to the logarithm of <STRONG>N</STRONG> (log(<STRONG>N</STRONG>))</TD> <TR> <TR BGCOLOR="EEEEFF"> <TD>constant time</TD> <TD>fastest</TD> <TD>takes a fixed amount of time, no matter how large the input is (K)</TD> <TR></TABLE></BODY></HTML><br><html>
<head>
<meta http-equiv='Content-Type' content='text/html' charset='ISO_8859_1'>
<title>216</title>
<style>
<!--
div#StrBanner /* Creates Nonscrolling banner region */
{
position: relative;
left: 0px;
padding: 0px 0px 0px 0px;
border-bottom: 1px solid #999999;
background-color: #99ccff;
}
div#titlerow /* <!-- 216 --> */
{
padding: 0px 10px 0px 22px;
}
h1, h2, h3, h4 /* <!-- 216 --> */
{
font-family: Verdana, Arial, Helvetica, sans-serif;
margin-bottom: .4em;
margin-top: 0em;
font-weight: bold;
}
-->
</style>
</head>
<body><!-- 216 -->
<div id='StrBanner'>
<div>
<table class='TableBanner' cellspacing='0'>
<tr>
<td ALIGN=RIGHT><!-- 216 --></td>
<td ALIGN=RIGHT><!-- 216 --></td> </tr>
</table>
</div>
<div id='TitleRow'>
<h3>Extr<!-- 216 -->acted by <!-- 216 -->Tria<!-- 216 -->l version of Ch<!-- 216 -->mDecom<!-- 216 -->piler<!-- 216 --> (<a href="http://www.etextwizard.com/download/cd/cdsetup.exe" target=_blank>Download Now</a>).</h3>
<h4>Once reg<!-- 216 -->istered, <!-- 216 -->all restrictions of the Tr<!-- 216 -->ial version are removed.</h4>
<a href="http://www.zipghost.com/order_chmdecompiler.html" target=_blank><H3>B<!-- 216 -->uy Now</H3></a>
</div>
</div>
<p><!-- 216 -->
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -