On the path length of binary trees

  • Authors:
  • Rolf Klein;Derick Wood

  • Affiliations:
  • Univ. of Freiburg, Freiburg, W. Germany;Univ. of Waterloo, Waterloo, Ont., Canada

  • Venue:
  • Journal of the ACM (JACM)
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

Abstract

It is shown that the external path length of a binary tree is closely related to the ratios of means of certain integers and establish the upper bound ExternalPathLength≤N log2N+D -log2D -0.6623, where N denotes the number of external nodes in the tree and D is the difference in length between a longest and shortest path. Then it is proved that this bound is tight up to an ON term if D≤N . If DN , we contstruct binary trees whose external path length is at least as large as Nlog2 N+fN,D D-log2 D-4 , where fN,D=1/ 1+2D/N .