1.

In general, the node content in a threaded binary tree is ________(a) leftchild_pointer, left_tag, data, right_tag, rightchild_pointer(b) leftchild_pointer, left_tag(c) leftchild_pointer, left_tag, right_tag, rightchild_pointer(d) leftchild_pointer, left_tag, dataQuestion is taken from Threaded Binary Tree in portion Binary Trees of Data Structures & Algorithms IThis question was addressed to me in homework.

Answer»

The correct answer is (a) leftchild_pointer, left_tag, data, right_tag, rightchild_pointer

Easiest explanation - It contains ADDITIONAL 2 pointers over normal binary TREE node structure.



Discussion

No Comment Found

Related InterviewSolutions