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
In questa pagina del sito puoi guardare il video online Maximum Depth of Binary Tree - LeetCode 104 - Java della durata di ore minuti seconda in buona qualità , che l'utente ha caricato LeetCode University 06 March 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,445 volte e gli è piaciuto 42 spettatori. Buona visione!