Pergunta de entrevista da empresa Capital One

Validate whether a binary tree is a proper binary search tree