skip to main content
research-article

A New Algorithm for Minimum Cost Binary Trees

Published: 01 December 1977 Publication History

Abstract

A new algorithm for constructing minimum cost binary trees in $O(n \log n)$ time is presented. The algorithm is similar to the well-known Hu-Tucker algorithm. Our proof of validity is based on finite variational methods and is therefore quite different and somewhat simpler than the proof for the Hu-Tucker algorithm. Our proof also yields some additional information about the structure of minimum cost binary trees. This permits a linear time implementation of our algorithm in a special case.

References

[1]
E. N. Gilbert, E. F. Moore, Variable-length binary encodings, Bell System Tech. J., 38 (1959), 933–967
[2]
T. C. Hu, A. C. Tucker, Optimal computer search trees and variable-length alphabetical codes, SIAM J. Appl. Math., 21 (1971), 514–532
[3]
T. C. HU, A new proof of the $T-C$ algorithm, SIAM J. Appl. Math., 25 (1971), 83–94
[4]
D. E. Knuth, Optimum binary search trees, Acta Informat., 1 (1971), 14–25
[5]
Donald E. Knuth, The art of computer programming. Volume 3, Addison-Wesley Publishing Co., Reading, Mass.-London-Don Mills, Ont., 1973xi+722 pp. (1 foldout)
[6]
D. E. Knuth, The art of computer programming. Vol. 1: Fundamental algorithms, Addison-Wesley, Reading, MA, 1973
[7]
Robert Tarjan, Depth-first search and linear graph algorithms, SIAM J. Comput., 1 (1972), 146–160

Cited By

View all

Index Terms

  1. A New Algorithm for Minimum Cost Binary Trees
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Information & Contributors

        Information

        Published In

        cover image SIAM Journal on Computing
        SIAM Journal on Computing  Volume 6, Issue 4
        Dec 1977
        152 pages
        ISSN:0097-5397
        DOI:10.1137/smjcat.1977.6.issue-4
        Issue’s Table of Contents

        Publisher

        Society for Industrial and Applied Mathematics

        United States

        Publication History

        Published: 01 December 1977

        Author Tags

        1. algorithms
        2. binary trees
        3. minimum cost trees

        Qualifiers

        • Research-article

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • Downloads (Last 12 months)0
        • Downloads (Last 6 weeks)0
        Reflects downloads up to 28 Jan 2025

        Other Metrics

        Citations

        Cited By

        View all

        View Options

        View options

        Figures

        Tables

        Media

        Share

        Share

        Share this Publication link

        Share on social media