The weighted external path length of the binary tree in figure is ______

View worked solution
Answer: 144
The Weighted External Path Length (WEPL) of a binary tree is defined as the sum of the products of the weights of the external nodes (leaves) and their respective depths (distance from the root):
From the given binary tree, we identify the weights of the leaf nodes and their corresponding depths:
- Leaves at depth : weights and
- Leaves at depth : weights , , , and
- Leaf at depth : weight
Substituting these values into the formula:
Free practice · Your answers on this page are not saved.
