Sollicitatievraag bij Amazon

How to determine whether the given binary tree is a binary search tree.