You are viewing a single comment's thread. Return to all comments →
How does this code work if root.left and root.right are both null, say for leaf nodes
Seems like cookies are disabled on this browser, please enable them to open this website
Tree: Preorder Traversal
You are viewing a single comment's thread. Return to all comments →
How does this code work if root.left and root.right are both null, say for leaf nodes