






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







0
1... 2... 3...
(a) Embedded child pointers (+ optional parent pointers)
0
1... 2... 3...
(b) Array of child pointers (+ optional parent pointers)
0
1 2 3
0
1 2 3
......... (c) child/sibling pointers
0 1 2 3 · · ·
(d) pre-order array (complete trees)
decision data
no yes
decision data
low mid high
42
19
16 25
30
60
50 91
/** Node in T containing L,
42
19
16
25
30
27
60
50 91
/** Insert L in T, replacing existing
A
B E
C
D
D
C B A
E
0
A B
D C
these bounding boxes to reject the point immediately).
otherwise nothing.