1,493 views
1 votes
1 votes
Consider a binary tree T that has 100 leaf nodes. Then the number of INTERNAL nodes in T that have exactly two children are ______.

1 Answer

Best answer
3 votes
3 votes

The number of INTERNAL nodes in the binary tree that have exactly two children is calculated as : number of leaf node -1.

you can verify it by some eg.

so for 100 node number of INTERNAL nodes that have exactly two children are 99.

selected by

Related questions

0 votes
0 votes
1 answer
3
4 votes
4 votes
3 answers
4
Don't you worry asked Jul 15, 2016
2,896 views
What is the difference betweenBinary Tree and Almost complete Binary tree and complete Binary Tree and full Binary Tree and Binary search Tree and Balanaced Binary Search...