Pregunta de entrevista de Parkwheels

Given a binary tree find its a BST or not