Review: Order Statistic Trees
l OS Trees augment red-black trees:
n Associate a size field with each node in the tree
n x->size records the size of subtree rooted at x,
including x itself:
M
8
C
5
P
2
A
1
F
3
Q
1
D
1
H
1