Amazon interview question

How to determine a binary tree is a BST?