Wipro interview question

How will you find Whether a tree is BST.