Is parent node of Node 3 and root node of the given ternary tree same?

Category: QuestionsIs parent node of Node 3 and root node of the given ternary tree same?
Editor">Editor Staff asked 1 month ago

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 Answers
Editor">Editor Staff answered 1 month ago

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.