Is This a Binary Search Tree?

  • + 0 comments

    Great solution based on the constraints: 0 <= data <= 10^4. This is to utilize BST inorder traversal property. If the data can be min int, then the solution won't work.