Pergunta de entrevista da empresa Asana

How would you check if a binary tree is a binary search tree?