by Ralf Hinze
In Proceedings of Workshop on Algorithmic Aspects of Advanced Programming Languages
http://www.informatik.uni-bonn.de/~ralf/RedBlackTree2.ps.gz
Add To MetaCart
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
Citations
|
492
|
Art of Computer Programming, Volume 3: Sorting and Searching (2nd Edition
– Knuth
- 1998
|
|
147
|
Purely Functional Data Structures
– Okasaki
- 1998
|
|
137
|
An algorithm for the organization of information
– Adelson-Velsky, Landis
- 1962
|
|
83
|
Symmetric binary B-trees : Data structure and maintenance. Acta Informatica
– Bayer
- 1972
|
|
46
|
A new representation for linear lists
– Guibas, McCreight, et al.
- 1977
|
|
25
|
An algorithm for the organization of information. Dokladi Akademia Nauk SSSR
– Adelson-Velskii, Landis
- 1962
|
|
24
|
Data structures, algorithms, and performance
– Wood
- 1993
|
|
14
|
Functional algorithm design
– Bird
|
|
12
|
A new class of balanced search trees: Half-balanced binary search trees. R.A.I.R.O. Informatique Theoretique
– Olivie
- 1982
|
|
9
|
Functional Pearls: Efficient sets---a balancing act
– Adams
- 1993
|
|
7
|
Functional Pearl: Explaining binomial heaps
– Hinze
- 1999
|
|
7
|
A characterization of heaps and its applications
– Sack, Strothotte
- 1990
|
|
6
|
Functional Pearls: On building trees with minimum height
– Bird
- 1997
|
|
6
|
Functional Pearl: Red-Black trees in a functional setting
– Okasaki
- 1999
|
|
3
|
A new representation for linear lists. Pages 49--60 of: Conference record of the ninth annual ACM symposium on theory of computing
– Guibas, McCreight, et al.
- 1977
|
|
1
|
Functional Pearls: E cient sets|a balancing act
– Adams
- 1993
|
|
1
|
Functional algorithm design. Science ofcomputer programming
– Bird
- 1996
|