A complete binary tree T have n leaf nodes. What is the number of nodes with degree of 2 in tree T?
Show answerHide answer
Correct answer: (C) n − 1
Explanation
In any binary tree, the number of leaf nodes is one more than the number of nodes with two children, so n leaves means n − 1 nodes of degree 2.