Suppose Binary Tree Leaves 1 12 Im Depths Di D2 Dm Respectively Prove 2i2 True Known Kraf Q37279188

Suppose that a binary tree has leaves 1,12, .,Im at depths di, d2,....dm, respectively. Prove that 2i2 is true (known as Kraf

Suppose that a binary tree has leaves 1,12, .,Im at depths di, d2,….dm, respectively. Prove that 2i2 is true (known as Kraft’s inequality 2<1 and determine when the equality Show transcribed image text Suppose that a binary tree has leaves 1,12, .,Im at depths di, d2,….dm, respectively. Prove that 2i2 is true (known as Kraft’s inequality 2


Answer


Proof of Binary tree Given: Binary tree leaves l,,/,...,l, Binary tree depths - d,d....d,To prove Consider a binary tree For i = 1, substitute the i value to the given summation, then the depth d, also 1 Theref2)s Hence, the equality is true for the given binary tree

Proof

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.