Pergunta de entrevista da empresa Ooyala

Write a function to validate the integrity of a binary search tree.