Question d’entretien chez Ooyala

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