Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

An optimal method for deletion in one-sided height-balanced trees

Published: 01 June 1978 Publication History
  • Get Citation Alerts
  • Abstract

    A one-sided height-balanced tree is a binary tree in which every node's right subtree has a height which is equal to or exactly one greater than the height of its left subtree. It has an advantage over the more general AVL tree in that only one bit of balancing information is required (two bits are required for the AVL tree).
    It is shown that deletion of an arbitrary node of such a tree can be accomplished in O(log n) operations, where n is the number of nodes in the tree. Moreover the method is optimal in the sense that its complexity cannot be reduced in order of magnitude. This result, coupled with earlier results by Hirschberg, indicates that, of the three basic problems of insertion, deletion, and retrieval, only insertion is adversely affected by this modification of an AVL tree.

    References

    [1]
    Adel'son-Verskii, G.M., and Landis, E.M. An algorithm for the organization of information. Doklady Akademia Nauk SSSR. 146(1962), 263-266; English trans. Soy. Math. 6(1963), 1259-1263.
    [2]
    Hirschberg, D.S. An insertion technique for one-sided heightbalanced trees. Comm. ACM 19, 8 (Aug. 1976), 471--473.
    [3]
    Karlton, P.L., Fuller, S.H., Scroggs, R.E., and Kaehler, E.B. Performance of height-balanced trees. Comm. A CM 19, I (Jan. 1976), 23-28.
    [4]
    Knuth, D.E. The Art of Computer Programming, Volume 3: Sorting and Searclu'ng. Addison-Wesley, Reading, Mass., 1973.
    [5]
    Kosaraju, S.R. Insertions and deletions in one-sided heightbalanced trees. Comm. A CM 21, 3 (March 1978), 226-227.

    Cited By

    View all

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image Communications of the ACM
    Communications of the ACM  Volume 21, Issue 6
    June 1978
    75 pages
    ISSN:0001-0782
    EISSN:1557-7317
    DOI:10.1145/359511
    Issue’s Table of Contents
    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: 01 June 1978
    Published in CACM Volume 21, Issue 6

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. balanced
    2. binary
    3. search
    4. trees

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)61
    • Downloads (Last 6 weeks)10

    Other Metrics

    Citations

    Cited By

    View all

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Full Access

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media