Professional Documents
Culture Documents
DS Notes (1)
DS Notes (1)
orn*aneeaoenoenena
Page ********es*toe***
10I5 20
GA . cwaySterel Der
215. 6 78
Date .
Page.paseeo-
E B-Tee
DEsa parl of M-wy Aeogeh txee So
itis_clso Crseatd byteking Some axdez
h M-o0 eosckse ee 13 cclled
aa B- ee_i he Qllooin q o o
Cendli tian oe aplalied
( EXcept heoot amode, wey_Dtheu o ode
suld_have nun. hol vlue P/M
CLndmax - 2
Vales. he
HOot Mpde ma hanue_min1 and max
M- alues,V
|
N
D a t e . . . * oooo
oo*a o * * * * *
Page.*
io 19 2oL 140us5o
LI
Snseet 22
The pxopek place oo 22s N 20
Thehde ha modinlm m1) alues
ale_hsetlien So, the ihseefed S
Chmloltkd Succexuly , So
Cunent Pree clleu ih&tNkiön
5
1o120 22
Page ...eeeeo**e
o*****
40 45 8 S0 S3
follotas=
Thus he omodo meeds to be spllt o5
M-1)/2 salues
alRiahi= = Lost
60 STL
5L L l l L
R30L 40 45 So51
IO 50 23
a h t o 5 2 2
Pelelio_in B-aee
pollow the 6llouainq algouithm ak he delepion
olug inB.rkel
Searh fes the rgbey opcde ukiek 1g tobe
deleledtarding ponleol 2odle
he Mode Vhas min mL2 Values ole
delelonhou Hhe_delethams maluy
Gucce&sell.
Date...
Page..
s*****co*o****9*
518
toIslao 30 s4ol
Date...
e e e e e s e e e o o o
Page . .
Relele O
* Ater dektien a04he made ollous the ule_
ihimum_ualue fox 8-1aee So, 0Len kO
eedNOamaly he urleln 2 Tee s o
358L
15 203514045S
Delete 6
(the_pode hos tyndezlao Sikeakikron gte deletton
S So se_eed to, Caenh -Q Lnbined node
Qallo.s
IO1SS30 35 40 4S
adexed tombined_node= |5 10 15 30 3S 40 4t7
2
Date esoonoseeeosoosoeeos9
Page 0sosoDeoeeeaoae*e*
Sha
l =_5 10 S
middl=_30
Rill= 3 4o Y5
Afler saittng nuddle alue În he rou
he Cuwreut B-Pee$ as Jo Mo
20
134o 4s Sosr6
Date
86s/22
P a g e . . . on* *e********e**
Peachinq dazfin
pnding ny daufa
#Seaechinq he rocess_of
ems b ( / edlled
I hAhe ghenAgt o
a Aeuucking opexcuttor,
heneae (Jhao Seut.ching fechnique.=
(2 nean Seavch/Sequeakinl SeMch
1) inazy Seakch
nea seauchi
Ihis technicque benefeiol fo gmallUE
Only but can be sed fox soxted i vnsoxted
Endude<Stdioh>
#incdude < conio.h>
void main C)
nint_nflo, in, num,f=0,
clasesO3-
fnum== n[L
pinf"nAote found at %d
posiHon , 0 ;
boeak _
Page ..eroreaooe
elemeut ot he
high_poins to the lagt yhe
Calculerted
List. ond the mid is
Omdamid=_o0+hiah)z-
tinclude Kidio.h
trlude Conio.h
yoid mun )
IEnum== h\m
Date oe*o*ao*****o**
Page-.
jffnom n (m1)
hE m-1
lse
=mt1
else
bxitf mAaka fbund al2d position
m)
ekehty
DyRun
1o o u so6o7 9le
h m P
Date..or.*****
Page
Cekaygir
data ethiK
oting he
ne_ pace
pracess
eadei 1
in
Calledas Aoatizy fechnicve,
dkchnique -
Ihere Oke 8_Soa 42q
Dubble Soz
Selection Sozt
nseion Sox
Iv Mexae sost
V). Shel Sczmt
Raudiy 8mt
Quck %ot
Heab AAt
9os22
Bubble-St
4 is UsRhil fpx Aoahng cH _Sndll Lits onls because
I s a time Comaoming pxocess takks as
much tinRe_g4 he k e longe
Page.....
techniqve.
bvbble soat
LOAP to Sodt the axay
Finclude<stdio.hz
4include <Conio.h~
Void mncin )_
h i = h [á+1]B
Page..9e0s9*94 osee9*6*0eooo
Selecdon Soat
I s st dome os the bubhl fatbut he
dffesence is that SelecfA dond places the
mal lesd data_in h Cosoct pkce 9n eareh
SEbLhexeos bubble sont plece he
aegest data n_ Cosroek ploe in
4
Slep 3
3
Steb2
3
k
|3
8 3 3
34 8
4 4
H
AL.
EEE
R
O
Date e eoceemeeoeseo*
Page **o*osoooa***o**
4 8 2 6 SS
4 4 8_2 6 S
85
pkbj_L 6
Sozted UiE
Hgaithm o Jnserkton_cSor
lnaertionSoxt_ L,n)
whene Represent he lds of Elemenls
n
Represenshe qumber ofemenb
L, 2 3 4
I
N
Date..
Page.
lpolortl LPeinlen
pointey-
Lpoinler+ fomb
Rintf ulep = %d i
fo = 0; K<hík t )
privt[a
Void: main)
int numbele
int0llaJ
int
entf mImputthe ombey lerteuts
in he Li-1
SComtZL Anumber)