Maximum Depth of Binary Tree

#104
Easy
Binary Tree
O(n)
O(h)
Amazon
Microsoft
Facebook
LinkedIn
View on LeetCode

Problem Description

Given the root of a binary tree, return its maximum depth.