Calculate the number of vertices in a full 5-ary tree with 45 internal vertices.Also find out the number of leaves.
A full mmm ‐ary tree with iii internal vertices has n=m⋅i+1n=m\cdot i+1n=m⋅i+1 vertices.
A full mmm ‐ary tree with iii internal vertices has l=(m−1)i+1l=(m-1)i+1l=(m−1)i+1 leaves.
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment