Topic: Tree Problem / Level: intermediate

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

Run the code to see the output here...