- #1
zak100
- 462
- 11
Homework Statement
Hi,
I want to know is there any role for left thread in inorder traversal.
Homework Equations
There is no equation but there is an example image of the tree which is attached. After traversal we would get:
Start at leftmost node, print it (1)
Follow thread to right, print node (3)
Follow link to right, go to leftmost node and print (5)
Follow thread to right, print node (6)
Follow link to right, go to leftmost node and print (7)
Follow thread to right, print node (8)
Follow link to right, go to leftmost node and print (9)
Follow thread to right, print node (11)
Follow link to right, go to leftmost node and print (13)
The Attempt at a Solution
The above traversal of threaded binary tree does not show any role of left thread in inorder traversal.
So i don't think that there is any role of left thread in inorder traversal.
Some body please guide me.
Zulfi.