Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/199688.199726acmconferencesArticle/Chapter ViewAbstractPublication PagessigcseConference Proceedingsconference-collections
Article
Free access

Achieving a uniform interface for binary tree implementations

Published: 15 March 1995 Publication History

Abstract

One of the basic principles taught in a data structures course is that an application program should be independent of the implementation of any particular data structure it uses. This policy breaks down when binary trees are introduced, because the interfaces for the various representations of binary trees are not uniform. In particular, implementing a binary tree by using an implicit array generally requires the array itself to be passed as a parameter to any function that manipulates the tree. In this paper we present an approach for defining the implicit array representation of a binary tree. Our definition makes the underlying array transparent to the user. This allows us to describe a uniform interface for a binary tree module that can be used by an application program regardless of the particular implementation of the tree.

References

[1]
Horowitz, E., Sahni, S. and Anderson-Freed, S., Fundamentals of Data Structures in C, Computer Science Press, New York, 1993.
[2]
Kingston. J.H. Algorithms and Data Structures: Design, Correctness, Analysis, Addison-Wesley, Reading~ Mass., 1990.
[3]
Tenenbaum, A.M., Langsmn, Y. and Augenstein, M.J., Data Structures Using C, Prentice Hail, Englewood Cliffs, N.J., 1990.
[4]
Weiss, M.A., Data Structures and Algorithm Analysis in C, Benjamin Cummings, Menlo Park, Ca., 1993.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGCSE '95: Proceedings of the twenty-sixth SIGCSE technical symposium on Computer science education
March 1995
436 pages
ISBN:089791693X
DOI:10.1145/199688
  • Chairman:
  • Cary Laxer,
  • Editors:
  • Curt M. White,
  • James E. Miller,
  • Judy Gersting
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 15 March 1995

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

SIGCSE95
Sponsor:

Acceptance Rates

Overall Acceptance Rate 1,595 of 4,542 submissions, 35%

Upcoming Conference

SIGCSE Virtual 2024
1st ACM Virtual Global Computing Education Conference
December 5 - 8, 2024
Virtual Event , NC , USA

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 268
    Total Downloads
  • Downloads (Last 12 months)45
  • Downloads (Last 6 weeks)11
Reflects downloads up to 14 Oct 2024

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media