You are viewing a single comment's thread. Return to all comments →
Could anyone take some time and help me/others to understand the construction of the tree for the testcase.
2
1 2 4 3 5 6 7
Is the below correct? But the expected output is NO. So just like to check with you all.
1 2 4 3 5 6 7 This is a valid BST right?
Is This a Binary Search Tree?
You are viewing a single comment's thread. Return to all comments →
Could anyone take some time and help me/others to understand the construction of the tree for the testcase.
2
1 2 4 3 5 6 7
Is the below correct? But the expected output is NO. So just like to check with you all.