UGC NET Paper 2 (Computer Science)Hard

A full binary tree (each node has 0 or 2 children) has 25 leaves. The total number of nodes is:

  1. A. 50
  2. B. 49
  3. C. 48
  4. D. 51

Correct answer: B. 49

Leaves = internal nodes + 1, so 24 internal and 49 in all, i.e. 2L - 1.

More UGC NET Computer Science and Applications questions

Exams that ask this topic