Gate CS-2005 Question Paper With Solutions

Q. 36 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 – 1)k + 1

(C) n(k – 1) + 1

(D) n(k – 1)

Answer: (C)

Explanation:

Gate CS-2005 Question Paper With Solutions

Learn More:   Gate EC-2016 - 1 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here