cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
BST
BST
Apr 30, 2014 at 6:29am UTC
Unpredictableimp
(13)
I was wondering if there was any way to travel from a leaf to the root. For example I search the tree to find the leaf i want and then trace/record the path back to the root
Apr 30, 2014 at 7:10am UTC
MiiNiPaa
(8886)
Save a pointer to parent in each node in addition to child pointers.
Last edited on
Apr 30, 2014 at 7:11am UTC
Apr 30, 2014 at 7:20am UTC
Unpredictableimp
(13)
cool! thank you :)
Topic archived. No new replies allowed.