X299: Binary Tree Get Difference Exercise

Given a binary tree, write a recursive function to return the difference between the sum of all node values at odd levels and sum of all node values at even levels. Define the root node to be at level 1.

Reset

Practice a different Java exercise