DSA Master
Home
Problems
123
Schedule
17 Patterns
Data Structures
PDF Guide
Back to Problems
Mark as Complete
Maximum Depth of Binary Tree
#104
Easy
Binary Tree
O(n)
O(h)
Amazon
Microsoft
Facebook
LinkedIn
View on LeetCode
Description
Approach
Solution
Related
Problem Description
Given the root of a binary tree, return its maximum depth.