A binary tree with n > 1 nodes has n1, n2 and n3 nodes of degree one, two and…

GATE · 2008 · IT

A binary tree with n > 1 nodes has n1, n2 and n3 nodes of degree one, two and three respectively. The degree of a node is defined as the number of its neighbors.

n3 can be expressed as

  1. A.

    n1 + n2 - 1

  2. B.

    n1 - 2

  3. C.

    [((n1 + n2)/2)]

  4. D.

    n2 - 1

Attempted by 414 students.

Show answer

Correct answer: B

The worked solution is available to enrolled students.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…