1.

Which of the following is the name of the node having child nodes?(a) Brother(b) Sister(c) Mother(d) ParentThis intriguing question originated from K-ary tree in section Trees of Data Structures & Algorithms IThe question was asked in homework.

Answer»

Right answer is (d) Parent

The explanation is: Parent node is the node having CHILD NODES and child nodes may contain references to their PARENTS. Parent node is a node CONNECTED by a directed edge to its child.



Discussion

No Comment Found

Related InterviewSolutions