Write a function that takes a BinaryTree and validates if it is a valid BinarySearchTree. Assume the tree contains no duplicate values.
Anonymous
Do an inorder traversal and check if the elements are sorted.
Check out your Company Bowl for anonymous work chats.