You are viewing a single comment's thread. Return to all comments →
Honestly, I don-t understand how this algorithm works.
I can imagine this tree
5 \ 1 /\ 6 3 / \ 2 4
Doing your algorithm,the output is: 5,2,6,4,1,3.
Where is the order in there?
Kind Regards,
Seems like cookies are disabled on this browser, please enable them to open this website
Tree: Inorder Traversal
You are viewing a single comment's thread. Return to all comments →
Honestly, I don-t understand how this algorithm works.
I can imagine this tree
Doing your algorithm,the output is: 5,2,6,4,1,3.
Where is the order in there?
Kind Regards,