1.

Which node is the child node of Node C in the following K-ary tree?(a) A(b) C(c) G(d) HThis interesting question is from K-ary tree in portion Trees of Data Structures & Algorithms II had been asked this question in unit test.

Answer»

The correct option is (C) G

The best EXPLANATION: The Child node is the node that has a directed PATH from its parent node. Since Node C has a DIRECT path to Node G, So Node G is the Child node.



Discussion

No Comment Found

Related InterviewSolutions