Quote Originally Posted by laserlight View Post
Every non-empty tree has a root. A subtree is a tree, so it has a root different from the root of the overall tree.
So how is that done? I mean how the PC/SOFTWARE know we are in subtree so it's a tree etc .. I mean how the PC thinks like us?! how the PC knows that we are now in a new subtree so we have new tree?

who said that every subtree is a tree? how do you make that conclusion ?


those really the gap I'm facing through my learning on preorder and inorder and postorder, so it would be really appreciated if you could help me to understand them.
I'm really stuck in understanding how is subtree is a tree .. and how the PC knows that at every call we have new "tree/subtree" ! ?