Which node is the root node of the following ternary tree?

Category: QuestionsWhich node is the root node of the following ternary tree?
Editor">Editor Staff asked 4 weeks ago

Which node is the root node of the following ternary tree?
 
(a) A
 
(b) B
 
(c) C
 
(d) D
 
Query is from 1 topic in portion Trees of Data Structures & Algorithms I
 
I have been asked this question in an interview.

1 Answers
Editor">Editor Staff answered 4 weeks ago

Correct choice is (a) A
 
To explain: Node A is called the root node of the above ternary tree while the Node B, Node C, Node D are called Leaf node.