Roku interview question

Find if the given tree is a BST