skip to main content
article

Alternatives to two classic data structures

Published: 23 February 2005 Publication History

Abstract

Red-black trees and leftist heaps are classic data structures that are commonly taught in Data Structures (CS2) and/or Algorithms (CS7) courses. This paper describes alternatives to these two data structures that may offer pedagogical advantages for typical students.

References

[1]
G. M. Adel'son-Vel'skiǐ and E. M. Landis. An algorithm for the organization of information. Soviet Mathematics--Doklady, 3(5):1259--1263, Sept. 1962. English translation of Russian orginal appearing in Doklady Akademia Nauk SSSR, 146:263--266.
[2]
S. Cho and S. Sahni. Weight-biased leftist trees and modified skip lists. ACM Journal of Experimental Algorithmics, 1998. Article 2.
[3]
T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein. Introduction to algorithms. MIT Press, 2001.
[4]
C. A. Crane. Linear lists and priority queues as balanced binary trees. PhD thesis, Computer Science Department, Stanford University, Feb. 1972. Available as STAN-CS-72-259.
[5]
L. J. Guibas and R. Sedgewick. A dichromatic framework for balanced trees. In IEEE Symposium on Foundations of Computer Science, pages 8--21, Oct. 1978.
[6]
D. E. Knuth. Searching and Sorting, volume 3 of The Art of Computer Programming. Addison-Wesley, 1973.
[7]
C. Okasaki. Red-black trees in a functional setting. Journal of Functional Programming, 9(4):471--477, July 1999.
[8]
C. Okasaki. Fun with binary heap trees, pages 1--16. Palgrave MacMillan, 2003.
[9]
M. A. Weiss. Data Structures & Algorithm Analysis in Java. Addison-Wesley, 1998.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGCSE Bulletin
ACM SIGCSE Bulletin  Volume 37, Issue 1
2005
562 pages
ISSN:0097-8418
DOI:10.1145/1047124
Issue’s Table of Contents
  • cover image ACM Conferences
    SIGCSE '05: Proceedings of the 36th SIGCSE technical symposium on Computer science education
    February 2005
    610 pages
    ISBN:1581139977
    DOI:10.1145/1047344
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 23 February 2005
Published in SIGCSE Volume 37, Issue 1

Check for updates

Author Tags

  1. leftist heaps
  2. maxiphobic heaps
  3. red-black trees

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)16
  • Downloads (Last 6 weeks)2
Reflects downloads up to 07 Mar 2025

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media