Snowflake Interview Question

determine if a tree is BST or not