Professional Documents
Culture Documents
Divide
Divide
Oivide Brk-
Th skp invoke) the breeming
th proble m iyb smedey ub-röble»m3ub
Imublem shoudd ie be*nt a por g orlsinal
problem his slepP 9neglA a a irte5sv
hreohto devide the oblemuntil no Sub
blm i thtv divsibla tt this s shm
Sub problems betome atomiin neture but
Sti ye exNb_Some bort dgchvaoblem
onays solU=
This ste smalleY
decirveU det
Sub- robems to b solvtd.CtntTally_2 t thi
qe(onside red solvu on hei
leve ha Iroll m
Oina SubiUion method
ing w (an show the
Tni ima o apiksort is olnz et T(n)
0UILkSoRTOnqn inpot size n we
hovet h e he((uítnr
here he
he_iname kY q Janagrom 1 bn1
bta the proredure PAATITION produce k o
NPaions eath havins zotleat 1 we auesy Tln)_
th r Some Conskunt ( Subtik ting this gurss
W obain
CmeaXX_( + ( n - 4 ) + o(n)
i y sn-1