Topic: Tree Problem / Level: intermediate

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

Run the code to see the output here...