In this video I will give you a detailed explanation to find the maximum depth of a binary tree in LeetCode using DFS (depth-first search) with recursion!
Video Contents:
00:00 - Read and understand the question
00:52 - Analogy to understand the recursion
03:20 - Explain the solution
08:06 - Code the solution
10:36 - Time and Space complexity
Ещё видео!