Pergunta de entrevista da empresa Google

Write a function to validate a binary search tree.

Resposta da entrevista

Sigiloso

4 de fev. de 2012

If you de traversal in order (left,value,right) then you are suppose to get a sorted array if the bst is correct.