You are viewing a single comment's thread. Return to all comments →
Note, I haven't seen your code but here's a tip:
You need to also think about all previous values higher in the tree, and not just the the current node, and the top of the left and right subtrees.
Seems like cookies are disabled on this browser, please enable them to open this website
Is This a Binary Search Tree?
You are viewing a single comment's thread. Return to all comments →
Note, I haven't seen your code but here's a tip:
You need to also think about all previous values higher in the tree, and not just the the current node, and the top of the left and right subtrees.