
Xamid U.
asked 06/08/21Draw a full ternary
a. Draw a full ternary (3-ary) tree which has 5 internal vertices of height 4
b. How many vertices and edges it has?
c. How many leafs does it have?
1 Expert Answer

Corey G. answered 08/06/21
PhD in Computer Engineering with 20 years of Teaching Experience
Below, each "x" represents a vertex. The 5 rows of "x"s represent 5 levels of vertices (a height of 4)The edges are not drawn (try to redraw and fill in the edges your self). Each "x" that does not have another "x" directly below it is a leaf.
x
x x x
x x x x x x
x x x
xxx
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Andrew D.
06/14/21