Depends which way you build the tree I guess. The important thing is that you are consistent when building and traversing the tree. Note that this sub can be used to traverse the tree while adding and also later on while searching so as far as a user of the tree is concerned they might not ever need to know.
In reply to Re: Basic tree - compare question
by GrandFather
in thread Basic tree - compare question
by Cristoforo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |