<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Growth - Tag - rblog</title><link>https://korhal.h4ck.me/tags/growth/</link><description>Growth - Tag - rblog</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© [rblog contributors](https://github.com/rltyty/rblog/graphs/contributors)</copyright><lastBuildDate>Sun, 26 Apr 2026 16:54:24 +0800</lastBuildDate><atom:link href="https://korhal.h4ck.me/tags/growth/" rel="self" type="application/rss+xml"/><item><title>Growth of Functions</title><link>https://korhal.h4ck.me/notes/algorithm/growth-of-functions/</link><pubDate>Sun, 26 Apr 2026 16:54:24 +0800</pubDate><author>rltyty</author><guid>https://korhal.h4ck.me/notes/algorithm/growth-of-functions/</guid><description><![CDATA[<h2 id="asymptotic-notations">Asymptotic Notations</h2>
<p>Assume all functions are asymptotically nonnegative unless otherwise stated.</p>
<h3 id="-notation">$\Theta$-notation  $\underline{渐近紧界}$</h3>
$$
\begin{aligned}
\Theta(g(n)) = \{f(n): &\text{ there exist positive constants } c_1, c_2 \text{ and } n_0 \\
&\text{ such that } c_1 g(n) \le f(n) \le c_2 g(n) \text{ for all }
n \ge n_0\}
\end{aligned}
$$<p>We say that $f(n)$ is $\Theta(g(n))$, i.e., $g(n)$ is a tight asymptotic bound
for $f(n)$.</p>
<h3 id="-notation-1">$O$-notation  $\underline{渐近上界}$</h3>
$$
\begin{aligned}
O(g(n)) = \{f(n): &\text{ there exist positive constants } c \text{ and } n_0 \\
&\text{ such that } f(n) \le c g(n) \text{ for all } n \ge n_0\}
\end{aligned}
$$<p>We say that $f(n)$ is $O(g(n))$, i.e., $g(n)$ is an asymptotic upper bound
for $f(n)$.</p>]]></description></item></channel></rss>