A full binary tree with n leaves contains
Show answerHide answer
Correct answer: (C) 2n – 1 nodes
Explanation
A full binary tree with n leaves contains n – 1 internal nodes, so total nodes = internal nodes + leaves = (n – 1) + n = 2n – 1.
Correct answer: (C) 2n – 1 nodes
Explanation
A full binary tree with n leaves contains n – 1 internal nodes, so total nodes = internal nodes + leaves = (n – 1) + n = 2n – 1.
This is question 7 of UGC NET Computer Science PYQ, December 2014 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.