Trees questions

Q21

GATE CS 2015 CS-3Tree Data StructuresNAT1 mark
Consider a binary tree T that has 200 leaf nodes. Then, the number of nodes in T that have exactly two children are ____________.
Show answer without attempting

Answer: 199

Q15

GATE CS 2015 CS-1Tree Data StructuresMCQ1 mark−1/3 if wrong
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
Show answer without attempting

Answer: A

Q23

GATE CS 2015 CS-2Tree Data StructuresNAT1 mark
A binary tree T has 20 leaves. The number of nodes in T having two children is _______.
Show answer without attempting

Answer: 19

0/30 correct0 marks

Related topics in Tree Data Structures