Question d’entretien chez Parkwheels

Given a binary tree find its a BST or not