...

/

Challenge: Tree Depth

Challenge: Tree Depth

Let’s find the depth of a binary tree using recursion.

Problem

Given a binary tree, find its depth. The depth of the root is 0. The depth of the tree ...