Slync Interview Question

Validate the binary search tree