1.

In an n-ary tree, each vertex has at most ______ children.(a) n(b) n^4(c) n*n(d) n-1This question was posed to me during an interview.This key question is from Properties of Tree topic in chapter Trees of Discrete Mathematics

Answer»

Right answer is (a) n

To elaborate: An n-ary tree is a ROOTED tree in which each vertex has at most n CHILDREN. 2-ary TREES are termed as binary trees, 3-ary trees are sometimes called ternary trees.



Discussion

No Comment Found

Related InterviewSolutions