Google News
logo
Algorithm - Quiz(MCQ)
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:
A)
nk
B)
n( k – 1)
C)
(n – 1) k+ 1
D)
n( k – 1) + 1

Correct Answer :   n( k – 1) + 1

Advertisement