Topic: Tree Problem / Level: advanced

Problem: Implement a function to check if a binary search tree is a valid max heap.

Run the code to see the output here...