Journal of Functional Programming · 1999 · 74 citations · 8 references
ComputingComputer ScienceAlgorithmsCombinatoricsData StructuresDecision TreesSearching AlgorithmsBalanced Binary Search TreesBalanced Search TreesBinary Search TreesComputer Science CurriculumIntroductory Computer ScienceRed-black Trees
Everybody learns about balanced binary search trees in their introductory computer science classes, but even the stouthearted tremble at the thought of actually implementing such a beast. The details surrounding rebalancing are usually just too messy. To show that this need not be the case, we present an algorithm for insertion into red-black trees (Guibas and Sedgewick, 1978) that any competent programmer should be able to implement in fifteen minutes or less.
8
V. J. Rayward‐Smith, Thomas H. Cormen, Charles E. Leiserson et al. · Journal of the Operational Research Society · 1991 · 17K citations
A dichromatic framework for balanced trees
Leo J. Guibas, Robert Sedgewick · 1978 · 658 citations
A gentle introduction to Haskell
Paul Hudak, Joseph H. Fasel · ACM SIGPLAN Notices · 1992 · 209 citations · Full text
Data structures and problem solving using Java
Mark Allen Weiss · ACM SIGACT News · 1998 · 102 citations
Functional Pearls Efficient sets—a balancing act
Stephen Adams · Journal of Functional Programming · 1993 · 95 citations · Full text