Trees: Is This a Binary Search Tree?

  • + 0 comments

    Consider the two invalid cases below. Domingos solution accounts for both.

    Case 1:

      5
     / \
    5   8
    

    Case 2:

      5
     / \
    3   5