Meta Interview Question

First round: check if one binary tree is a bst.