If T is a binary tree with N nodes, then the number of levels is at least:

Coal India Management Trainee CBT 2017

If T is a binary tree with N nodes, then the number of levels is at least:

  1. A.

    ⌈log₂(N + 1)⌉

  2. B.

    N − 1

  3. C.

    N

  4. D.

    ⌊log₂(N + 1)⌋

Attempted by 1166 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…