A binary tree node is `{ val, left, right }` with `null` for empty. Implement `treeDepth(root)` returning the maximum depth (an empty tree has depth 0).
+ 1 hidden test run on Submit.
Recursion takes one plus the maximum depth of the two subtrees. O(n) over all nodes.
Run your code to see results.