GATE CS 2015 · Set-1 · Arrays & Matrix Representation
MCQ · 1 mark · Problem PROG-DSTR-0142
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
Solve it on GATE DA practice →More Basic Data Structures problems
Show the worked solution
Official GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow:
https://gateoverflow.in/8223/gate2015-1-5
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com