You are viewing a single comment's thread. Return to all comments →
Can you explain why you alter the root.right and root.left fields? It seems as if you are continuously writing over them as you iterate down the tree.
Seems like cookies are disabled on this browser, please enable them to open this website
Binary Search Tree : Insertion
You are viewing a single comment's thread. Return to all comments →
Can you explain why you alter the root.right and root.left fields? It seems as if you are continuously writing over them as you iterate down the tree.