Constructing Red-Black Trees (1999) [9 citations — 3 self]
http://www.informatik.uni-bonn.de/~ralf/RedBlackTr
http://www.informatik.uni-bonn.de/~ralf/RedBlackTr
http://www.informatik.uni-bonn.de/~ralf/publicatio
http://www6.in.tum.de/lehre/vorlesungen/info1html/
CACHED:
Abstract:
This paper explores the structure of red-black trees by solving an apparently simple problem: given an ascending sequence of elements, construct, in linear time, a red-black tree that contains the elements in symmetric order. Several extreme red-black tree shapes are characterized: trees of minimum and maximum height, trees with a minimal and with a maximal proportion of red nodes. These characterizations are obtained by relating tree shapes to various number systems. In addition, connections to left-complete trees, AVL trees, and half-balanced trees are highlighted. 1 Introduction Red-black trees are an elegant search-tree scheme that guarantees O(log n) worst-case running time of basic dynamic-set operations. Recently, C. Okasaki [10, 11] presented a beautiful functional implementation of red-black trees. In this paper we plunge deeper into the structure of red-black trees by solving an apparently simple problem: given an ascending sequence of elements, construct a red-black tree th...

