Bloomberg interview question

Verify whether a binary tree is a BST or not.