Amazon Interview Question

given a binary tree, return if it's a search tree