Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

PAPER

CODE KCS 3 0 1 Rol


lNumber

BANSALI
NSTI
TUTEOFENGI
NEERI
NGANDTECHNOLOGY
(
Aff
il
iat
edt
oDr
.APJAbdulKal
am Techni
calUni
ver
sit
y,Lucknow)
Assi
gnment3-OddSemest er2020-2021
Programme:B.Tech(CSE/
IT) Semester:3rd
SubjectCode:KCS-
301 Subject
:DATASTRUCTURE M.
M.10
KL1-Remember i
ng KL4-Analyzi
ng
Knowl
edgeLev
el(
KL) KL2-Understanding KL5-Evaluat
ing
KL3-Applyi
ng KL6-Creati
ng
Dat
eofAssi
gnment:28NOV20 Lastdateofsubmi ssi
on:03DEC2020

1. Whatisbi
narytr
ee?Deter
minethehei
ghtofacompl
etebi
naryt
reewi
thnnumberof C05 KL2
nodes.
2. Writ
eaCpr ogr
am codetoimpl
ementall
theOper
ati
oninBST. C05 KL3

3. I
ftheinor
dertr
aver
salofabinar
ytreei
sB,I,D,A,C,G,E,H,Fandi
tspost
order C05 KL3
t
raver
sali
sI,
D,B,G,C,H,
F,E,
A.Determi
net
hebinar
ytree.
4. Descri
beAVLTREE&al lrotat
ionsinAVLt r
ee.Constr
uctAVLt reef
rom t
hefol
l
owing C05 KL2
nodes:64,1,
44,26,
13,110,
98,85.
5. Explai
nbi narysearcht r
eeandi t
soper ati
ons.Draw abinarysearchtreef
orthe C05 KL3
fol
lowing sequence of the numbers, show al
l steps:
45,
32,90,
34,68,72,
15,24,
30,66,
11,50,
10.

You might also like