Paper record

W2000568806

A Best Possible Bound for The Weighted Path Length of Binary Search Trees

Kurt Mehlhorn

Year
1977
Venue
SIAM Journal on Computing
References
6
Cited by
84

Details and counts from OpenAlex.

Abstract

The weighted path length of optimum binary search trees is bounded above by ∑βi+2∑αj+H\sum \beta_i + 2\sum \alpha_j + H where H is the entropy of the frequency distribution, $\sum \beta _i $ is the total weight of the internal nodes, and ∑αj\sum \alpha_j is the total weight of the leaves. This bound is best possible. A linear time algorithm for constructing nearly optimal trees is described.