Question

Prove by mathematical induction that а. h log2 for any binary tree with height h and the number of leaves I b. h > log3 ] for

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer: * To prove that by using mathematical Induction, @ h= [log,l] for any binary tree with heighth and the number of leav* Where To left subtrees - Te = Right Subtrees * Here, The heights of T and TR Cant Exceed h. ie, ah z llic) [T, and TR one= h el logol) for any ternary tree with height h and the number of leaves li- * By using Mathematical Induction, ha [logge] ©-; llT) = 11TL)+(Te) < 3h +3h = 3htl; It is true * so, ghze flow, apply logarithm on both sides log₂ (3h) z logze lih (10932]

Add a comment
Know the answer?
Add Answer to:
Prove by mathematical induction that а. h log2 for any binary tree with height h and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT