Bloomberg interview question

Given a binary tree. Determine whether it's a BST.