A binary tree T has n leaf nodes. The number of nodes of degree 2 in T is

PYQ GATE 1995

A binary tree T has n leaf nodes. The number of nodes of degree 2 in T is

  1. A.

    log₂n

  2. B.

    n-1

  3. C.

    n

  4. D.

    2ⁿ

Attempted by 1096 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…