Topic: Tree Problem / Level: intermediate

Problem: Check if a binary search tree is valid based on properties.

Run the code to see the output here...