Topic: Tree Problem / Level: advanced

Problem: Write a program to calculate the sum of all nodes with an odd depth in a binary tree.

Run the code to see the output here...