1.

What are double and single threaded trees?(a) when both left, right nodes are having null pointers and only right node is null pointer respectively(b) having 2 and 1 node(c) using single and double linked lists(d) using heaps and priority queuesOrigin of the question is Threaded Binary Tree in section Binary Trees of Data Structures & Algorithms IThis question was posed to me in a national level competition.

Answer»

Correct choice is (a) when both LEFT, RIGHT NODES are having null POINTERS and only right NODE is null pointer respectively

Explanation: They are properties of double and single threaded binary trees respectively.



Discussion

No Comment Found

Related InterviewSolutions