X301: Binary Tree Increment By One Exercise

Write a recursive function to increment by one the value for every node in the binary tree pointed at by "root" then return the modified tree. Assume that nodes store integer values.

Your Answer:



Your feedback will appear here when you check your answer.