Is This a Binary Search Tree?

  • + 2 comments

    no need for a traversal. Take the node->data of each node directly from the vector values given in private. Rest logic is spot on. Did the same :)