ADS Tutorial - 6 Solutions
ADS Tutorial - 6 Solutions
80
90 35 86
RO
insert to inser 55
30
10,&0 96 S6 10/20 35 35
msey 6o
56
6086
alhich ofhe Yollooirg is he mog4 oidely u
extenat emO0y a a 9uchune
a AVL ree,
B tvee
C
Reol Black hee
d Bolb AVL hee ad co Back hee,
Ahs h entevnal oemovy the chlo is thansfeve in
m
blocts.Thee blocts hove data vaued ahd
Poirses
And
Ard B trees Can
hod kol h e a o alues &poiten.
SD B- thee ie useo as on exteal mernoy data
Struetuuve
ide he di.Ffend cOSrble ases of deleting a tey
tey
B-see, Consfe Abe olotoina B 1eo.
Value rom 4he
he nodes 2,32
Ooith
OYdey y
to be dele teol in A giuen Dide
99
217 1,672
11,1 5,6
12113,232A 3614GB.75,7125
2,5,910
orcde 3 keys
No of tey
Deele 5
29
11 51,64
29
10,,21L 53,64
a9 , I4) (32
41.61 61,G46,75,0
Delefe 53
29
D,21 S36
2.9 1,12324 (uIST 61,4 8 159), 95/
29
10,21 61 68
DEfeYemiode befoEn B-ree and B+ hees.
B heey
B+eeA
At intemal and leab hales nodes hae dela
have cdato poioies
Ooly lea
pein-ley