You are not logged in.
Pages: 1
Problem:
Show that maximum number of nodes in a binary tree of height
My Answer:
In a binary tree each node has two children; therefore, number of nodes on each level is twice the number of nodes on the previous level. In a recursive form number of nodes on level
And now my questions:
a) I think it is obvious that
b) I have a strong suspicion that it is possible to solve the original problem without resorting to induction and I went a little overboard with it. If yes, please point me into the right direction on how to solve this problem easier?
Offline
Hi White_Owl;
Is a recurrence formula and like their continuous counterparts ( differential equations ) many of them can be solved by algebraic methods of generating functions. Start with any Discrete mathematics book. Most will cover that.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Pages: 1