Professional Documents
Culture Documents
Unit 1 Part3
Unit 1 Part3
Unit 1 Part3
Pln)=2 OU)
OU)-wnstont P)-s
olog)- Legpathmie FC)Soo0
Pln)mt+3 -0)
OLn)=Linear Pv)50o0+T6o
on)-Quecbatic
PO-oD0 So0d
o(n3)-Cukic
Ol") - eskoneHnta
ol3)-
o()
L L3.. <n
byn&n <n <
ln
4
6 16
3 64 356
8 S12
n3
T
smbtotic Notatioms
O-big-oh upper betmd
- big Omepe Lotoer boumd
theta Aveepe bumd.
-
6i
Big-oh Notattom
The Ptnetton Pn)=O CS PP
A tre comstomt C amol ho
For)-2n+3
9n+3 lon
eg
n+37n
temy
ell
Mke
2.nt 3 an3n n7
mulhbe oP
P)-0n)
Aleags Ve t e
*n3< an+3
PC)Olr)
tughteet Bolmo
m+35
2 Orega Notatton
PP 4we astonntr
The Pmetm Pn- Jlgl)
C amd Mo Such thost
fCn)=nt3
3+3 7t*n mzl
P )
Theta btahon 13
The Ptmc ton fln)=0() PË 3 tNe Cotomr
PL)-n+3
henn+3 < Sxn
.Po)--C)
Pln)
ho7
n+lo)
) ms c,
C
Caombleg
PCn) 3 +3n +4
2742n+4 <23
2un
+3n-H4< 2+3d+ ur
C 3
t3ntu 7, l2
243nt4 1 Po)-&Cn)
r ) m legm-+n
l6nlogn
I l e n S n2 log n tn
O(n leg )
JL (nt leg
(n leg
e Pln) nl, = n n-i*h-2 X. --x3 x /
Xn n m Xn x.-h
Ix2 3
o l , < lag
n log n.
SL On legm)
Beberttes of Acymptetc Notaton
Ghexosl oety
9 P Pn) Is o (3b then ax P(n) Is O (3n)
eP(-a4S Is O ) 'a is gome
7 fn)= (4 n+3s 1s oy)
RcPlexye Bepetes
P ) &3wen ten fo 0 CFo))
.e Pnctionm is wbpeo bend of ttselP
Por)-GrG))
Tsongtve Boberty Othn))
floy s 0 (3() and 8 u
then f) O hc))
Thii tr c f al 3 Notaton
for Thee fetatO%)
Tue ny
Symmetoic Bepert
F)
P O)-
fhen r0
)#9 O(P)
Pos)2G)
n O
n=o(n)x
( n
Plr)=? $o=n then 8n)4H
Pr)-O#)
&sr)0*)
Tonsbore SmmetncC
Fen-O(t5) then 9G) 1s SLFO)
PLn)=n n)=
then n is O ) md
nIs)
Nete
omd Pa)= A i )
Pen Lsn))
lo(n(legn)")
lo n+(ey (losy
leg nt log tog
le n tlog legn lognt lo log n
7
legn.
Pon) -3
3
es
3 (
3