Back to Questions

Maximum Depth of Binary Tree

108K viewsAsked at Google
Easy

Question Explain

Given the root of a binary tree, return its maximum depth. Solve using recursion (DFS).

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Maximum Depth of Binary Tree - Interview Question