Trees with Minimum Weighted Path Length
Wojciech Rytter
Warsaw University
O(n log n) Time Algorithm•Linear Time Algorithm for Presorted Sequence of Items•Relation between General Uniquely Decipherable Codes and Prefix-free Codes•Huffman Codes and Entropy•Huffman Algorithm for t-ary Trees
15.3Height Limited Huffman Trees
Reduction to the Coin Collector Problem•The Algorithm for the Coin Collector Problem
15.4Optimal Binary Search Trees
Approximately Optimal Binary Search Trees
15.5Optimal Alphabetic Tree Problem
Computing the Cost of Optimal Alphabetic Tree•Construction of Optimal Alphabetic Tree•Optimal Alphabetic Trees for Presorted Items
Get Handbook of Data Structures and Applications, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.