Count Nodes Greater Than Ancestors in Binary Tree | FE Prep