Binary Search Trees Red-Black Trees Comp 550 1 Red-black Tree Binary search tree + 1 bit per node: the attribute color, which is either red or black. All other attributes…
O(lg n) Search Tree Tree T is a search tree made up of n elements: x0 x1 x2 x3 ⦠xn-1 No function (except transverse) takes more than O(lg n) in the worst case.  Functions:…
Augmenting Data Structures, Dynamic Order Statistics, Interval Trees Lecture 11 L11.2 Dynamic order statistics OS-SELECT(i, S): returns the i th smallest element in the dynamic…