Computer Science EngineeringHard

A full binary tree (every node has 0 or 2 children) has 20 leaves. How many internal nodes does it have?

  1. A. 20
  2. B. 21
  3. C. 19
  4. D. 10

Correct answer: C. 19

In a full binary tree, internal nodes = leaves - 1 = 19.

More Algorithms, Data Structures & Programming (ISRO CS) questions

Exams that ask this topic