Validate Binary Search Tree

# Introduction In this challenge, you'll validate a binary search tree by determining its adherence to certain rules. Specifically, you must ensure that the left subtree of a node contains only nodes with keys less than the node's key and that the right subtree contains only nodes with keys greater than the node's key. Additionally, the left and right subtrees must both be valid binary search trees. Two examples are provided to illustrate the expected behavior. Remember to create the `isValidBST.js` file and implement the `isValidBST` function.

|60 : 00

Click the virtual machine below to start practicing