How would one
execute an inorder traversal function for a binary search tree, that permits visit to delete the node visited.
This is a discussion on inorder traversal funtion within the C++ Programming forums, part of the General Programming Boards category; How would one execute an inorder traversal function for a binary search tree, that permits visit to delete the node ...
How would one
execute an inorder traversal function for a binary search tree, that permits visit to delete the node visited.
Are you having problems with traversing the tree, or with the deletion?
Are you talking about a simultaneous in-order traversal with deletion of the nodes as they are visited?
I used to be an adventurer like you... then I took an arrow to the knee.