X300: Binary Tree Height Exercise

The height of a binary tree is the length of the path to the deepest node. An empty tree has a height of 0, a tree with one node has a height of 1, and so on. Write a recursive function to find the height of the binary tree pointed at by "root".

Your Answer:

Reset

Feedback

Your feedback will appear here when you check your answer.