7,290 views
6 votes
6 votes

Q.A strictly binary tree with 10 leaves

A) cannot have more than 19 nodes

B) has exactly 19 nodes

C)has exactly 17 nodes

D) has exactly 20 nodes

3 Answers

Best answer
5 votes
5 votes

Ans.B) has exactly 19 nodes

strictly binary tree with N leaves always contains 2N – 1 nodes.

10*2-1=19 nodes

selected by
0 votes
0 votes

If every non-leaf node in a binary tree has nonempty left and right subtrees, the tree is called a strictly binary tree.

A strictly binary tree with n leaves always contains 2n -1 nodes.

10*2 - 1 = 19 

Related questions

0 votes
0 votes
1 answer
2
junaid ahmad asked Dec 17, 2017
2,212 views
Let S be an NP-complete problem.Q and R are other two problems not known to be NP.Q is polynomial time reducible to S and S is polynomial time reducible to R.Which of the...
8 votes
8 votes
1 answer
4
sh!va asked May 7, 2017
6,519 views
Estimation at software development effort for organic software in basic COCOMO is:E = 2.0 (KLOC) 1.05 PME = 3.4 (KLOC) 1.06 PME = 2.4 (KLOC) 1.05 PME = 2.4 (KLOC) 1.07...