+1 vote
in Data Structures & Algorithms I by (110k points)
Which node is the parent node of Node 5?

(a) 1

(b) 5

(c) 2

(d) 3

I'm obligated to ask this question of K-ary tree topic in division Trees of Data Structures & Algorithms I

This question was posed to me in semester exam.

1 Answer

+1 vote
by (672k points)
selected by
Best answer
The correct choice is (c) 2

To explain: Since Node 2 has two children Node 5 and Node 6, So Node 2 is the parent node of Node 5. While Node 1 is root node and Node 3 and Node 5 are Leaf node.

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.