Maximum Depth of Binary Tree - LeetCode 104 - Java

Publié le: 06 March 2022
sur la chaîne: LeetCode University
1,445
42

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Maximum Depth of Binary Tree - LeetCode 104 - Java durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur LeetCode University 06 March 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,445 fois et il a aimé 42 téléspectateurs. Bon visionnage!