1.

Which node is the root node of the following K-ary tree?(a) A(b) B(c) C(d) DI want to ask this question from K-ary tree in portion Trees of Data Structures & Algorithms II have been asked this question by my college director while I was bunking the class.

Answer»

Right OPTION is (a) A

To explain: Node A is CALLED the ROOT node of the above K-ary tree while the Node B, Node C, Node D are called Leaf node.



Discussion

No Comment Found

Related InterviewSolutions