Back to Question

Maximum Depth of Binary Tree

Question Explain

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

Start Trying This Question Simulation

Click "Start Speaking" and answer the question naturally.