If T is a binary tree with N nodes, then the number of levels is at least:
Coal India · Computer Science · 2017
If T is a binary tree with N nodes, then the number of levels is at least:
- A.
⌈log₂(N + 1)⌉
- B.
N − 1
- C.
N
- D.
⌊log₂(N + 1)⌋
Attempted by 1027 students.
Show answer
Correct answer: A
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…