










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Lecture Slides of Advanced Data Structures which includes Split Algorithm, Unbalanced Binary Search Trees, Forward Pass, Forward Pass Example, Backward Cleanup Pass, Retrace Path, Current Nodes, Roots of Respective Tries, Branch Nodes etc. Key important points are: Binary Tries, Split Algorithm, Unbalanced Binary Search Trees, Forward Pass, Forward Pass Example, Backward Cleanup Pass, Retrace Path, Current Nodes, Roots of Respective Tries, Branch Nodes
Typology: Slides
1 / 18
This page cannot be seen from the preview
Don't miss anything!











b
a
c d e f g
S = null B = null
k = g.key = 101011
d e f g
a
c
b
k = g.key = 101011
c
a
d
b
e f g k = g.key = 101011
f g
c
a
e
d
b
k = g.key = 101011
k = g.key = 101011
d
b
e
c
a
f
e
c
a
f
d
b
Now backup on B.
e
c
a
f
d
b
Now backup on B.
e
c
a
f
d
b
Now backup on B.
Assume root of is a branch node. d
e
c
a
f
d
b
Complexity ofsplit is O(height).
s a b
s c d
s a b
b’ c d
s a (^) J(b,B’)
s a b
b’ c d
b’ J(S,c) d
Complexity is O(max{height(S), height(B)}).
Simpler storage management.