Pregunta de entrevista de Amazon

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