GATE CS 2005 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0222

In a complete k-ary tree, every internal node has exactly k children. The number of leaves in such a tree with n internal nodes is:
  1. A
    nk
  2. B
    (n-1)k+1
  3. C
    n(k-1)+1
  4. D
    n(k-1)

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

Show the worked solutionOfficial GATE Answer Key: Option C.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/1372/gate2005-36

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com