Microsoft interview question

Given a binary tree check if it is a binary search tree