Seetharaman Venkatasamy wrote:@ Hunter McMillen : Hi, when you construct a tree, it is also important to tell that how to travel ?
Yes, if you travel the wrong direction you will get the wrong answer. So if the condition you're evaluating is true go to the left child, if the condition is false, go to the right child.
Hunter