1.

Which node contains a pointer to its parent?(a) root node(b) right most child(c) left most child(d) left siblingMy enquiry is from Heap topic in portion Heap of Data Structures & Algorithms IThis question was posed to me during an internship interview.

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.



Discussion

No Comment Found

Related InterviewSolutions