P
pentiumPunk
Lets say i have a binary tree that looks like this:
root -> O
O <--- one of the nodes i
need nodeValue's for ---> O
In my binary tree...i have recusively traced down to a leaf node ( no left
or right pointers). i want the nodeValue of my current node....how do i get
it, if all i have access to is the root node. and root->left->nodeValue
doesnt work because the user defines whether it goes to the left or right
from the root? thanks! ~pentiumPunk~
root -> O
O <--- one of the nodes i
need nodeValue's for ---> O
In my binary tree...i have recusively traced down to a leaf node ( no left
or right pointers). i want the nodeValue of my current node....how do i get
it, if all i have access to is the root node. and root->left->nodeValue
doesnt work because the user defines whether it goes to the left or right
from the root? thanks! ~pentiumPunk~