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:

Reset

Feedback

Your feedback will appear here when you check your answer.