We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
That should work if you are doing this for all nodes. Try checking if you are doing this for all nodes including subnodes, not just root.
It might be sub-optimal though.
Is This a Binary Search Tree?
You are viewing a single comment's thread. Return to all comments →
That should work if you are doing this for all nodes. Try checking if you are doing this for all nodes including subnodes, not just root. It might be sub-optimal though.