1.

In a full binary tree if number of internal nodes is I, then number of leaves L are?(a) L = 2*I(b) L = I + 1(c) L = I – 1(d) L = 2*I – 1My query is from Binary Tree Properties in division Binary Trees of Data Structures & Algorithms IThe question was asked in examination.

Answer» RIGHT choice is (b) L = I + 1

The BEST explanation: Number of LEAF nodes in full binary tree is EQUAL to 1 + Number of INTERNAL Nodes i.e L = I + 1


Discussion

No Comment Found

Related InterviewSolutions