What are the disadvantages of normal binary tree traversals?

Category: QuestionsWhat are the disadvantages of normal binary tree traversals?
Editor">Editor Staff asked 5 months ago

What are the disadvantages of normal binary tree traversals?
 
(a) there are many pointers which are null and thus useless
 
(b) there is no traversal which is efficient
 
(c) complexity in implementing
 
(d) improper traversals
 
My enquiry is from Threaded Binary Tree in chapter Binary Trees of Data Structures & Algorithms I
 
The question was asked in an interview.

1 Answers
Editor">Editor Staff answered 5 months ago

Right choice is (a) there are many pointers which are null and thus useless
 
The best I can explain: As there are majority of pointers with null value going wasted we use threaded binary trees.


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: 40701