+1 vote
in Data Structures & Algorithms I by (88.2k points)
Which node contains a pointer to its parent?

(a) root node

(b) right most child

(c) left most child

(d) left sibling

My enquiry is from Heap topic in portion Heap of Data Structures & Algorithms I

This question was posed to me during an internship interview.

1 Answer

+1 vote
by (672k points)
selected by
 
Best answer
Correct option is (c) left most child

Easiest explanation - A node that is a leftmost node contains a pointer to its parent, otherwise, the node is a right sibling.

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.

Categories

...