aboutsummaryrefslogtreecommitdiffstats
path: root/main.tex
diff options
context:
space:
mode:
authorYigit Sever2020-11-07 04:53:23 +0300
committerYigit Sever2020-11-07 04:53:23 +0300
commitd9b06cc947692e378feee8ae26cdc0cbe055d502 (patch)
tree70f5e169a365d9fa8278430a2aeb1fdfe0929eee /main.tex
parentfcf4d85007dcfcbdc6220331f5f9d9ba31f6ae67 (diff)
downloadhw1-d9b06cc947692e378feee8ae26cdc0cbe055d502.tar.gz
hw1-d9b06cc947692e378feee8ae26cdc0cbe055d502.tar.bz2
hw1-d9b06cc947692e378feee8ae26cdc0cbe055d502.zip
Last question lest
Diffstat (limited to 'main.tex')
-rw-r--r--main.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/main.tex b/main.tex
index fe20d1f..cabba40 100644
--- a/main.tex
+++ b/main.tex
@@ -639,6 +639,17 @@ Finally, $H = L = 1$ since $f(n)$ is $\Theta(n)$. Borrowing the Big-$\Theta$ not
639 $f(n) = n(\log n)^{2}$ 639 $f(n) = n(\log n)^{2}$
640\end{info} 640\end{info}
641 641
642\begin{align*}
643 n^{2} \quad v.s. \quad n(\log{n})^{2} \\
644 n^{1} \quad v.s. \quad (\log{n})^{2} \\
645 \sqrt{n} \quad v.s. \quad \sqrt{(\log{n})^{2}} \\
646 n^{\frac{1}{2}} \quad v.s. \quad \log{n}
647\end{align*}
648
649From the lectures we know that $\log{n}$ is $\mathcal{O}(n^{d})$ for all $d$.
650
651If $\log{n}$ is $\mathcal{O}(n^{\frac{1}{2}})$ then $n(\log{n})^{2}$ is $\mathcal{O}(n^{2})$. $H=2$.
652
642 653
643% 1}}} % 654% 1}}} %
644 655