1.

Is parent node of Node 3 and root node of the given ternary tree same?(a) True(b) FalseThe origin of the question is 1 topic in chapter Trees of Data Structures & Algorithms IThe question was asked in an online interview.

Answer»

The correct ANSWER is (a) True

The explanation is: Since ROOT NODE of the TERNARY tree is Node 1 and ALSO Node 1 has three children that is Node 2, Node 3, Node 4. So parent node of Node 3 and the root node of the ternary tree are same.



Discussion

No Comment Found

Related InterviewSolutions