Trees: Is This a Binary Search Tree?

  • + 8 comments

    FYI, Input:
    2
    1 2 3 4 5 6 7
    goes like this.

    ___4
    __2 6
    _1 3 5 7