The height of a tree is the length of the longest root-to-leaf path in it. The…
GATE · 2015 · CS · Set 1 · Computer Science & IT
The height of a tree is the length of the longest root-to-leaf path in it. The maximum and minimum number of nodes in a binary tree of height 5 are
- A.
63 and 6, respectively
- B.
64 and 5, respectively
- C.
32 and 6, respectively
- D.
31 and 5, respectively
Attempted by 835 students.
Show answer
Correct answer: A
The worked solution is available to enrolled students.
Video solution available to enrolled students.
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…