Maximum Depth of Binary Tree at Uber
Easy77.9% acceptance
This problem has 62.5% frequency at Uber.
Problem Description
Given the `root` of a binary tree, return _its maximum depth_. A binary tree's **maximum depth** is the number of nodes along the longest path from the root node down to the farthest leaf node.
Read full problem and hintsTopics
Also asked at 15 companies
More Uber Questions
Bus RoutesHardNumber of IslandsMediumKth Smallest Element in a BSTMediumConstruct Quad TreeMediumWord SearchMedium
View all Uber questions