Is This a Binary Search Tree?

  • + 0 comments

    I think you can improve your space complexity only using a variable and comparing current node with his prev node.