Microsoft interview question

Determine if a binary tree is bst.