Answer:
Follows are the solution to this question:
Step-by-step explanation:
The scale of the subproblem for a node is
at depth.
The tree then has lg n + 1 and
leaves.
Complete costs for all depth I nodes for I = 0. 1 , 2, ......, lg n-1 is:
verfify the value:
Where there is the last stage for
.