UGC-NET Oct 2020 · Trees

MCQ · 2 marks · Problem PROG-DSTR-0011

A complete n-ary tree is a tree in which each node has n children or no children. Let I be the number of internal nodes and L be the number of leaves in a complete n-ary tree. If L = 41, and I = 10, what is the value of n?
  1. A
    3
  2. B
    4
  3. C
    5
  4. D
    6

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/1241/gate2007-43

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