What is the maximum number of nodes at level ‘L’ in a binary tree ?

2026

What is the maximum number of nodes at level ‘L’ in a binary tree ?

  1. A.

    2^L

  2. B.

    2^{L-1}

  3. C.

    2^L - 1

  4. D.

    L^2

Attempted by 199 students.

Show answer & explanation

Correct answer: A

The maximum number of nodes at level ‘L’ in a binary tree is:

2L

(Note: This formula assumes that the root node is at Level 0. If your textbook or curriculum defines the root node as being at Level 1, the formula becomes 2{L-1}).

Explore the full course: Niacl Ao It Specialist