Trees: Is This a Binary Search Tree?

  • + 1 comment

    it will return only true when it reaches the leaf nodes(which doesnt have any child nodes) . That means the code has successfully traversed the tree (or a branch) and found no violations.