Is This a Binary Search Tree?

  • + 1 comment

    This would return false. Inorder 8 -> 18 -> 10

    18 > 10

    As long as the last element is the last elemented "visited" and not last element passed by.