In a full binary tree if number of internal nodes is I, then number of nodes N are?

Category: QuestionsIn a full binary tree if number of internal nodes is I, then number of nodes N are?
Editor">Editor Staff asked 5 months ago

In a full binary tree if number of internal nodes is I, then number of nodes N are?

(a) N = 2*I

(b) N = I + 1

(c) N = I – 1

(d) N = 2*I + 1

This interesting question is from Binary Tree Properties in chapter Binary Trees of Data Structures & Algorithms I

The question was asked by my school teacher while I was bunking the class.

Editor">Editor Staff answered 5 months ago

The correct answer is (d) N = 2*I + 1

The explanation is: Relation between number of internal nodes(I) and nodes(N) is N = 2*I+1.

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17
Articles: 40702