In general, the node content in a threaded binary tree is ________

Category: QuestionsIn general, the node content in a threaded binary tree is ________
Editor">Editor Staff asked 5 months ago

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, data
 
Question is taken from Threaded Binary Tree in portion Binary Trees of Data Structures & Algorithms I
 
This question was addressed to me in homework.

1 Answers
Editor">Editor Staff answered 5 months ago

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.


Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17

Notice: Trying to get property 'ID' of non-object in /home/fvckxqmi/public_html/wp-content/themes/blocksy/inc/single/single-helpers.php on line 17
Articles: 40702