









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: Multidimensional Range Search, Static Collection of Records, Multidimensional Query, Data Structures, Unordered Sequential List, Sorted Tables, Performance Measures, Shape of Query
Typology: Slides
1 / 15
This page cannot be seen from the preview
Don't miss anything!










Given k ranges [ l i, ui], 1 <= i <= k. Report all records in collection such that l i <= ki <= ui, 1 <= i <= k.
k-d trees.
Range trees.
a
b
d e
c
f g
a
b
d e
c
f g
P(n,1) = O(n log n). S(n,1) = O(n). Q(n,1) = O(log n + s).
10 12 15 20 24 26 27 29 35 40 50 55
a SA
b c
d e f g
a SA
b c
d e f g
a SA
b c
d e f g
a SA
b c
d e f g
a SA
b c
d e f g
a (^) 2-d
b
d e f g
cc
a (^) 2-d
b c
d e f g
cc
a (^) 2-d
b c
d e f g
cc
O(n log n) time to construct 2-d range trees at each level of the tree from data at preceding level. O(log n) levels.
a (^) 2-d
b c
d e f g
cc