+1 vote
in Data Structures & Algorithms I by (110k points)
Is parent node of Node 3 and root node of the given ternary tree same?

(a) True

(b) False

The origin of the question is 1 topic in chapter Trees of Data Structures & Algorithms I

The question was asked in an online interview.

1 Answer

+1 vote
by (672k points)
selected by
Best 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.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.