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
  1. A
    63 and 6, respectively
  2. B
    64 and 5, respectively
  3. C
    32 and 6, respectively
  4. D
    31 and 5, respectively

Solve it on GATE DA practice →More Basic Data Structures problems

Show the worked solutionOfficial 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