Show that if any complete balanced tree has three children


Show that if any complete, balanced tree has three children at every node its depth k = log 3 (2N + 1) where N is the total number of nodes in the tree including the root. (log 3 means log base three).

Hints: (1) show that 2N = 3k - 1 (where k is the depth of the tree) then solve for k

(2) Start with N = SUM (3 i) for i = 0 to k. Find the sum of this finite geometric series.

Show all work

Solution Preview :

Prepared by a verified Expert
Business Economics: Show that if any complete balanced tree has three children
Reference No:- TGS02213004

Now Priced at $20 (50% Discount)

Recommended (92%)

Rated (4.4/5)