https://practice.geeksforgeeks.org/problems/is-binary-tree-heap/1