Amazon Interview Question

check whether a binary tree is binary search tree or not