ISRO 2016 · Arrays & Matrix Representation
MCQ · 1 mark · Problem PROG-DSTR-0125
A complete binary tree with n non-leaf nodes contains
- A
\(\log_{2}n\) nodes
- B
n+1 nodes
- C
2n nodes
- D
2n+1 nodes
Solve it on GATE DA practice →More Basic Data Structures problems
Show the worked solution
Official GATE Answer Key: Option D.See full step-by-step discussion on GateOverflow:
https://gateoverflow.in/55672/isro2016-30
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com