Trees: Is This a Binary Search Tree?

  • + 0 comments

    hmmm. I had the opposite experience with test case 7: I had to remove the equal signs in the comparison and just check greater/less than

    of course, I ended up implementing using a stack instead of using recursion, so my logic is a bit different