Help me in this code
you are actually building a bst, you have to instead simply build a normal binary tree with the given values and judge the two values that are not in the accordance for the bst
this function in this code will help you achieve and retrieve those two values, your current logic is faulty