Introduction
Outline of Algorithmics
Last updated
Outline of Algorithmics
big-Oh
g=O(f)
g≤f
(∃C>0)[Cf≥g≥0(e.v.)]
g⪯f
big-Omega
g=Ω(f)
g≥f
(∃C>0)[Cg≥f≥0(e.v.)]
g⪰f
Theta
g=Θ(f)
g=f
(∃C>1)[C2f≥Cg≥0(e.v.)]
g≍f
small-oh
g=o(f)
g≪f
(∀C>0)[Cf≥g≥0(e.v.)]
g≪f
small-omega
g=ω(f)
g≫f
(∀C>0)[Cg≥f≥0(e.v.)]
g≫f

Original:
2πn(en)ne12n+11<n!<2πn(en)ne12n1
log(n!)=nlog(n)−n+Θ(log(n))
Further simplification:
log(n!)=Θ(nlog(n))
A possible transformation:
n!=Θ(enlog(n))
Example: Merge x1<x2 and y1<y2<y3<y4.

The lower the smaller, circle(o) for x, cross(×) for y.

Last updated