The count of Leaf nodes in an N-ary tree, if I are the total number of…

The count of Leaf nodes in an N-ary tree, if I are the total number of internal nodes, is?

  1. A.

    (N – 1) * I

  2. B.

    (N – 1) * I + 1

  3. C.

    (N) * I + 1

  4. D.

    (N) * I -1

Attempted by 332 students.

Sign up free to check your answer

Sign up free

Explore the full course: Data Structures

Loading lesson…