Dsa - 2
Dsa - 2
pzinteut (toee> )
vod main)
neLsModo (so)
Teacher's Signature:
WRITO-LINE
8.Ouput
30, 10 50, 20
Date.
9t 2nemocde (20
paint'out (r96t);
paintf (n');
ttser)
Teacher's Signature:
WRITO-LINE
15.Qutput
50
Poe Orde.:
50’ 207010-40 - 2o> 60> 30
paint %d to ee Vale
treo s)
od
ved main c)
nenode (3o);
Teacher's Signature:
Date.
BST
27, 38,43, 50 Se
Signature: Teacher's WRITO-LINE
ADLL) ot nade RST Staot
Cl man int
xogt) STnode Cstauat d in
Jeid
nsdej aetom
ue;
(nadeigkt, lode ineet
key) nade (waln> if ebe
ualua seate nsde hear
aue itnole,
nt Ansde (staet Nade inget BSTnsde stouet
No. Page No. Expt.
Date.
Date.
Page No.
Expt. No..
la2.zide a
Ond inet am eleman
As#indado stdioh
#include ctdlikh>
stost Node
ind key i ctak Node *k ctuet Node siahti
Teacher's Signature:
WRITO-LINE
Expt. No.. Page No..
gtauct ode
ctact Nade *r ht
NOde *a 'aight,
Teacher's Signature:
WRITO-LINE
WRITO-LINE
Signature: Teacher's
(nade>
loft Retat lejz lelt node
(node
); Retat telt schan
(hada) Rotade. sight achwn
(nade)Baknce got alane int
aight); Cnode> hoight
lelt (nde (heigkt max t heiaht
= nade>
nde 2ekem
ehe
insetLnde
ziqht >kay) nade>aahi= Ckey>nade if che
nede
fnade
)e Reg 'node,iNULL) CNade tinsot= Nade
No. Page No. Expt.
Date.
int main ()
staust Nade t s NOL
xeot. inext Csost, 20),
ingot Gatot
xeam
Teacher's Signature:
-WRITO-LINE
Date.
lagt
nt sdatbx = (N/2)-L
int nain )
Teacher's Signature:
WRITO-LINE
92.Qdpt
l6
fooy Repsceyion
17, 16, 18, h,1S, 2, S, 8, 1o,s
Page No.
Expt. No.
Paintf ("%d
Ans#inclade <stdio h
yeld swah Cint ta int t )
int demp
**(Faa Jemp
lagest
(laaest
aight,
)
Caga
Teacher's Signature:
WRITO-LINE
Date.
Page No.
Expt. No..
int main )
int o [ : f 2s, 12, s, 45, 33, 24, lo, 432
Teacher's Signature:
WRITO-LINE
Unit -4 Date.
matix
P#includetdio h>
le (intio, ik tt)
int x E_aa[o]:
AdLxJyI=1
Je int i=l;iNit) +)
Teacher's Signature:
WRITO-LINE
Date.
int main
int i
WRITO-LINE
Teacher's Signature:
Date.
int visided v
Vaid
DES Ca,
ting
Teacher's Signature:
WRITO-LINE
Signature:. Teacher's WRITO-LINE
Wetex) aat vetce Kgahh, Bfs
"dslat
Velkex SCant
aleial cbo
B£S
leex; sdat int
lend) Rsat
ead) ctat, hd
erdi stat, int
itt)
(h%d"ladgsi scank
IL
VER IAX- VERIICES akhLAX Scanh int
oticse heeme ho
main int
No. Expt.
No. Page
Date.
Page No._
Expt. No.
in Clct indement
Paimts
As #inclucde tdigh>
# dohine INE
S0,3s, 3, 12,
KS, 35,0,S), 25,
int nain)
int nê edge
int sola ed vIj
selorked Co 1 = taua
Deght
int min = LNE
Teacher's Signature:
- WRITO-LINE
Date.
iCcoleated Si)
min = GLJL;
sdected.Cyl: tauej
Teacher's Signature:
WRITO-LINE