TOPICS
Search

External Path Length


ExtendedBinaryTree

The external path length of an extended binary tree is the sum over all external (square) nodes of the lengths of the paths from the root to each node. For example, in the tree above, the external path length is 25 (Knuth 1997, pp. 399-400). The internal and external path lengths are related by

 E=I+2n,

where n is the number of internal nodes.


See also

Extended Binary Tree, Internal Path Length

Explore with Wolfram|Alpha

References

Knuth, D. E. The Art of Computer Programming, Vol. 1: Fundamental Algorithms, 3rd ed. Reading, MA: Addison-Wesley, 1997.

Referenced on Wolfram|Alpha

External Path Length

Cite this as:

Weisstein, Eric W. "External Path Length." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/ExternalPathLength.html

Subject classifications