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.
Your Answer:
Feedback
Your feedback will appear here when you check your answer.